|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
NDSPartitionService provides partition and replica operations.
| Method Summary | |
void |
abortPartitionOperation(com.novell.application.console.snapin.ObjectEntry partObjEntry)
Aborts a partition operation on the input partObjEntry |
OperationStatus |
changeReplicaType(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN,
int type)
Changes the replica type of a partition replica on a server |
NDSReplicaInfo[] |
getDirectedPartitionReplicaList(com.novell.application.console.snapin.ObjectEntry partitionOE,
com.novell.application.console.snapin.ObjectEntry serverOE)
Returns a list of NDSReplicaInfo of a partition objectEntry from directed server. |
int |
getNumberOfReplicasOnServer(com.novell.application.console.snapin.ObjectEntry servObjEntry)
Returns the number of replicas stored on the input server object entry. |
NDSPartitionInfo |
getPartitionInfo(com.novell.application.console.snapin.ObjectEntry partObjEntry)
Returns partition information of a partition. |
NDSReplicaInfo |
getReplicaInfo(NDSReplica replica,
java.lang.String serverToRead)
Returns replica information of a replica. |
NDSReplicaInfo |
getReplicaInfo(com.novell.application.console.snapin.ObjectEntry pFDN,
com.novell.application.console.snapin.ObjectEntry servFDN)
Returns a replica's information. |
java.util.Date |
getUTCTime(com.novell.application.console.snapin.ObjectEntry partObjEntry)
Returns the Universal Time Coordinated (UTC) setting of the server. |
void |
receiveUpdates(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN)
This replica receives updates from the master replica. |
void |
sendUpdates(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN)
This replica sends updates to all other replicas. |
void |
syncReplica(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN)
This method updates each replica of a partition after an addition, deletion, or modification to NDS. |
| Methods inherited from interface com.novell.admin.ns.PartitionService |
createPartition,
createReplica,
deleteReplica,
getPartitionReplicaList,
getPartitionRoot,
getServerPartitionList,
isPartition,
mergePartition |
| Method Detail |
public void abortPartitionOperation(com.novell.application.console.snapin.ObjectEntry partObjEntry)
throws SPIException
partObjEntry - The partition ObjectEntry on which the operation is occuring.
public NDSPartitionInfo getPartitionInfo(com.novell.application.console.snapin.ObjectEntry partObjEntry)
throws SPIException
partObjEntry - The partition ObjectEntry whose information will be returned.
public int getNumberOfReplicasOnServer(com.novell.application.console.snapin.ObjectEntry servObjEntry)
throws SPIException
servObjEntry - The server ObjectEntry being checked.
public OperationStatus changeReplicaType(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN,
int type)
throws SPIException
partObjEntry - The partition ObjectEntry whose replica will be changed.servFDN - The FDN of the server holding the replica.type - The new replica type.
public NDSReplicaInfo getReplicaInfo(NDSReplica replica,
java.lang.String serverToRead)
throws SPIException
See NDSReplicaInfo to get more details of the information returned.
replica - The NDSReplica whose information will be returned.
public NDSReplicaInfo getReplicaInfo(com.novell.application.console.snapin.ObjectEntry pFDN,
com.novell.application.console.snapin.ObjectEntry servFDN)
throws SPIException
See NDSReplicaInfo for information about the information returned.
objEntry - The partition ObjectEntery whose information will be returned.servFDN - The server FDN which the replica is on.
public java.util.Date getUTCTime(com.novell.application.console.snapin.ObjectEntry partObjEntry)
throws SPIException
objEntry - The partition ObjectEntery whose information will be returned.
public NDSReplicaInfo[] getDirectedPartitionReplicaList(com.novell.application.console.snapin.ObjectEntry partitionOE,
com.novell.application.console.snapin.ObjectEntry serverOE)
throws SPIException
partitionOE - The server ObjectEntery.serverOE - The server ObjectEntery.
public void sendUpdates(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN)
throws SPIException
partObjEntry - The partition ObjectEntry whose replica will be changed.servFDN - The FDN of the server which the replica is on.
public void receiveUpdates(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN)
throws SPIException
partObjEntry - The partition ObjectEntry whose replica will be changed.servFDN - The FDN of the server which the replica is on.
public void syncReplica(com.novell.application.console.snapin.ObjectEntry partObjEntry,
java.lang.String servFDN)
throws SPIException
partObjEntry - The partition ObjectEntry whose replica will be synchronized.servFDN - The FDN of the server which the replica is on.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||