|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.admin.ads.ReplicaDescriptor
public class ReplicaDescriptor
The object of this class represent a Replica (i.e. a suffix in a given server).
| Constructor Summary | |
|---|---|
ReplicaDescriptor()
|
|
| Method Summary | |
|---|---|
long |
getAgeOfOldestMissingChange()
Returns the age of the oldest missing change. |
int |
getEntries()
Returns the number of entries contained in the replica. |
int |
getMissingChanges()
Returns the number of missing changes. |
int |
getReplicationId()
Returns the replication server id for the replication domain associated with this replica. |
java.util.Set<java.lang.String> |
getReplicationServers()
Returns a set containing the String representation of the replication servers that are defined in the replication domain for this replica. |
ServerDescriptor |
getServer()
Returns the ServerDescriptor object associated with the server where this replica is located. |
SuffixDescriptor |
getSuffix()
Returns the SuffixDescriptor object representing the suffix topology across servers to which this replica belongs. |
boolean |
isReplicated()
Returns whether this replica is replicated or not. |
void |
setAgeOfOldestMissingChange(long ageOfOldestMissingChange)
Sets the age of the oldest missing change. |
void |
setEntries(int entries)
Sets the number of entries contained in the replica. |
void |
setMissingChanges(int missingChanges)
Sets the number of missing changes. |
void |
setReplicationId(int replicationId)
Sets the replication server id for the replication domain associated with this replica. |
void |
setReplicationServers(java.util.Set<java.lang.String> replicationServers)
Sets the list of replication servers (in their String representation) that are defined in the replication domain for this replica. |
void |
setServer(ServerDescriptor server)
Sets the server where this replica is located. |
void |
setSuffix(SuffixDescriptor suffix)
Sets the SuffixDescriptor object representing the suffix topology across servers to which this replica belongs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplicaDescriptor()
| Method Detail |
|---|
public int getEntries()
public boolean isReplicated()
true if the replica is replicated and
false otherwise.public void setEntries(int entries)
entries - the number of entries contained in the replica.public ServerDescriptor getServer()
public void setServer(ServerDescriptor server)
server - the ServerDescriptor object associated with the server where
this replica is located.public SuffixDescriptor getSuffix()
public void setSuffix(SuffixDescriptor suffix)
suffix - the SuffixDescriptor object representing the suffix topology
across servers to which this replica belongs.public java.util.Set<java.lang.String> getReplicationServers()
public void setReplicationServers(java.util.Set<java.lang.String> replicationServers)
replicationServers - the list of replication servers (in their String
representation) that are defined in the replication domain for this
replica.public int getReplicationId()
public void setReplicationId(int replicationId)
replicationId - the replication server id for the replication domain
associated with this replica.public long getAgeOfOldestMissingChange()
public void setAgeOfOldestMissingChange(long ageOfOldestMissingChange)
ageOfOldestMissingChange - the age of the oldest missing change.public int getMissingChanges()
public void setMissingChanges(int missingChanges)
missingChanges - the number of missing changes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||