|
||||||||||
| 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(ObjectEntry partObjEntry)
Aborts a partition operation on the input partObjEntry |
OperationStatus |
changeReplicaType(ObjectEntry partObjEntry,
java.lang.String servFDN,
int type)
Changes the replica type of a partition replica on a server |
NDSReplicaInfo[] |
getDirectedPartitionReplicaList(ObjectEntry partitionOE,
ObjectEntry serverOE)
Returns a list of NDSReplicaInfo of a partition objectEntry from directed server. |
int |
getNumberOfReplicasOnServer(ObjectEntry servObjEntry)
Returns the number of replicas stored on the input server object entry. |
NDSPartitionInfo |
getPartitionInfo(ObjectEntry partObjEntry)
Returns partition information of a partition. |
NDSReplicaInfo |
getReplicaInfo(NDSReplica replica,
java.lang.String serverToRead)
Returns replica information of a replica. |
NDSReplicaInfo |
getReplicaInfo(ObjectEntry pFDN,
ObjectEntry servFDN)
Returns a replica's information. |
java.util.Date |
getUTCTime(ObjectEntry partObjEntry)
Returns the Universal Time Coordinated (UTC) setting of the server. |
void |
receiveUpdates(ObjectEntry partObjEntry,
java.lang.String servFDN)
This replica receives updates from the master replica. |
void |
sendUpdates(ObjectEntry partObjEntry,
java.lang.String servFDN)
This replica sends updates to all other replicas. |
void |
syncReplica(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(ObjectEntry partObjEntry)
throws SPIException
partObjEntry - The partition ObjectEntry on which the operation is occuring.
public NDSPartitionInfo getPartitionInfo(ObjectEntry partObjEntry)
throws SPIException
partObjEntry - The partition ObjectEntry whose information will be returned.
public int getNumberOfReplicasOnServer(ObjectEntry servObjEntry)
throws SPIException
servObjEntry - The server ObjectEntry being checked.
public OperationStatus changeReplicaType(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(ObjectEntry pFDN,
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(ObjectEntry partObjEntry)
throws SPIException
objEntry - The partition ObjectEntery whose information will be returned.
public NDSReplicaInfo[] getDirectedPartitionReplicaList(ObjectEntry partitionOE,
ObjectEntry serverOE)
throws SPIException
partitionOE - The server ObjectEntery.serverOE - The server ObjectEntery.
public void sendUpdates(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(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(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 | |||||||||