public interface NDSPartitionService extends PartitionService
| Modifier and Type | Method and Description |
|---|---|
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's for a partition objectEntry.
|
int |
getNumberOfReplicasOnServer(ObjectEntry servObjEntry)
Returns the number of replicas stored on the input server object entry.
|
NDSPartitionInfo |
getPartitionInfo(ObjectEntry partOE)
Returns partition information of a partition.
|
NDSReplicaInfo |
getReplicaInfo(NDSReplica replica,
java.lang.String unusedParam)
Return replica information of a replica.
|
NDSReplicaInfo |
getReplicaInfo(ObjectEntry partitionOE,
ObjectEntry serverStoredOnOE)
Return replica information of a replica.
|
NDSReplicaInfo |
getReplicaInfo(ObjectEntry partitionOE,
ObjectEntry serverStoredOnOE,
ObjectEntry serverToReadOE)
Return replica information of a replica from a specifically directed server
See NDSReplicaInfo to get more detail of the information returned.
|
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.
|
createPartition, createReplica, deleteReplica, getPartitionReplicaList, getPartitionRoot, getServerPartitionList, isPartition, mergePartitionvoid abortPartitionOperation(ObjectEntry partObjEntry) throws SPIException
partObjEntry - The partition ObjectEntry on which the operation is occuring.SPIException - Thrown when the service provider returns an error.NDSPartitionInfo getPartitionInfo(ObjectEntry partOE) throws SPIException
partOE - The partition ObjectEntry whose information will be returnedSPIException - Thrown when the service provider returns an error.int getNumberOfReplicasOnServer(ObjectEntry servObjEntry) throws SPIException
servObjEntry - The server ObjectEntry being checked.SPIException - Thrown when the service provider returns an error.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.SPIException - Thrown when the service provider returns an error.NDSReplicaInfo getReplicaInfo(NDSReplica replica, java.lang.String unusedParam) throws SPIException
replica - The NDSReplica whose information will be returned.unusedParam - this parameter is not usedSPIException - Thrown when the service provider returns an error.NDSReplicaInfo getReplicaInfo(ObjectEntry partitionOE, ObjectEntry serverStoredOnOE) throws SPIException
partitionOE - The partition ObjectEntry whose information will be returned.serverStoredOnOE - The server ObjectEntry used to identify the server which
contains the replica. This is not the server from which the
information will be read. The server from which the information
about this replica is read from is not specified.SPIException - Thrown when the service provider returns an error.NDSReplicaInfo getReplicaInfo(ObjectEntry partitionOE, ObjectEntry serverStoredOnOE, ObjectEntry serverToReadOE) throws SPIException
partitionOE - The partition ObjectEntry whose information will be returned.serverStoredOnOE - The server ObjectEntry used to identify the server which
contains the replica. This is not the server from which the
information will be read.serverToReadOE - The server that will be connected to and used to read the information
about the replica specified. The replica specified may actually be
stored on a different server. This is the server used to get the desired
information from. This may be null, in which case the server connected
to and used to read the information about the replica is not specified.SPIException - Thrown when the service provider returns an error.java.util.Date getUTCTime(ObjectEntry partObjEntry) throws SPIException
partObjEntry - The partition ObjectEntery whose information will be returned.SPIException - Thrown when the service provider returns an error.NDSReplicaInfo[] getDirectedPartitionReplicaList(ObjectEntry partitionOE, ObjectEntry serverOE) throws SPIException
partitionOE - The partition ObjectEntry.serverOE - The directed server ObjectEntry to get the list of replicas from.
If null, then any server containing a replica for the partition ObjectEntry
may be used.SPIException - Thrown when the service provider returns an error.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.SPIException - Thrown when the service provider returns an error.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.SPIException - Thrown when the service provider returns an error.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.SPIException - Thrown when the service provider returns an error.
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.