|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.replication.server.MonitorData
public class MonitorData
This class defines the Monitor Data that are consolidated across the whole replication topology.
Constructor Summary | |
---|---|
MonitorData()
|
Method Summary | |
---|---|
void |
completeComputing()
Build the monitor data that are computed from the collected ones. |
long |
getApproxDelay(short serverId)
Get an approximation of the latency delay of the replication. |
long |
getApproxFirstMissingDate(short serverId)
Get an approximation of the date of the first missing update. |
long |
getBuildDate()
Returns the build date of the data. |
ServerState |
getLDAPServerState(short serverId)
Get the state of the LDAP server with the provided serverId. |
ChangeNumber |
getMaxCN(short serverId)
Get the highest know change number of the LDAP server with the provided serverId. |
long |
getMissingChanges(short serverId)
Get the number of missing changes. |
void |
setBuildDate(long buildDate)
Sets the build date of the data. |
void |
setFirstMissingDate(short serverId,
java.lang.Long newFmd)
Set the state of the LDAP server with the provided serverId. |
void |
setLDAPServerState(short serverId,
ServerState state)
Set the state of the LDAP server with the provided serverId. |
void |
setMaxCN(short serverId,
ChangeNumber newCN)
For the provided serverId, sets the provided CN as the max if it is newer than the current max. |
void |
setMaxCNs(ServerState state)
From a provided state, sets the max CN of the monitor data. |
java.lang.String |
toString()
Returns a String object representing this
object's value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MonitorData()
Method Detail |
---|
public long getApproxDelay(short serverId)
serverId
- The server ID.
public long getApproxFirstMissingDate(short serverId)
serverId
- The server ID.
public long getMissingChanges(short serverId)
serverId
- The server ID.
public void completeComputing()
public java.lang.String toString()
String
object representing this
object's value.
toString
in class java.lang.Object
public void setBuildDate(long buildDate)
buildDate
- The date.public long getBuildDate()
public void setMaxCNs(ServerState state)
state
- the provided state.public void setMaxCN(short serverId, ChangeNumber newCN)
serverId
- the provided serverIdnewCN
- the provided new CNpublic ChangeNumber getMaxCN(short serverId)
serverId
- The server ID.
public ServerState getLDAPServerState(short serverId)
serverId
- The server ID.
public void setLDAPServerState(short serverId, ServerState state)
serverId
- The server ID.state
- The server state.public void setFirstMissingDate(short serverId, java.lang.Long newFmd)
serverId
- The server ID.newFmd
- The first missing date.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |