public class ReplicaDescriptor extends Object
Constructor and Description |
---|
ReplicaDescriptor() |
Modifier and Type | Method and Description |
---|---|
long |
getAgeOfOldestMissingChange()
Returns the age of the oldest missing change.
|
String |
getBackendName()
Returns the name of the backend where this replica is defined.
|
int |
getEntries()
Returns the number of entries contained in the replica.
|
int |
getMissingChanges()
Returns the number of missing changes.
|
Set<String> |
getObjectClasses()
Returns object classes of the backend attached to this replica.
|
int |
getReplicationId()
Returns the replication id for the replication domain associated
with this replica.
|
Set<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.
|
boolean |
isReplicationEnabled()
Returns whether replication is replicated on this server or not.
|
void |
setAgeOfOldestMissingChange(long ageOfOldestMissingChange)
Sets the age of the oldest missing change.
|
void |
setBackendName(String backendName)
Sets the name of the backend where this replica is defined.
|
void |
setEntries(int entries)
Sets the number of entries contained in the replica.
|
void |
setMissingChanges(int missingChanges)
Sets the number of missing changes.
|
void |
setObjectClasses(Set<String> objectClasses)
Sets the object classes of the backend attached to this replica.
|
void |
setReplicationId(int replicationId)
Sets the replication id for the replication domain associated
with this replica.
|
void |
setReplicationServers(Set<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.
|
public ReplicaDescriptor()
public int getEntries()
public boolean isReplicated()
true
if the replica is replicated and
false
otherwise.public boolean isReplicationEnabled()
true
if replication is enabled 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 Set<String> getReplicationServers()
public void setReplicationServers(Set<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 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.public String getBackendName()
public void setBackendName(String backendName)
backendName
- the name of the backend.public Set<String> getObjectClasses()
public void setObjectClasses(Set<String> objectClasses)
objectClasses
- object classes of the backend attached to this replica.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.