|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry
com.unboundid.ldap.sdk.unboundidds.monitors.ReplicaMonitorEntry
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ReplicaMonitorEntry
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This class defines a monitor entry that provides information about the state of a replica, including the base DN, replica ID, and generation ID, as well as information about its communication with the replication server
MonitorManager.getReplicaMonitorEntries(com.unboundid.ldap.sdk.LDAPConnection)
method. These entries
provide specific methods for accessing information about the replica.
Alternately, this information may be accessed using the generic API. See the
MonitorManager
class documentation for an example that demonstrates
the use of the generic API for accessing monitor data.
Constructor Summary | |
---|---|
ReplicaMonitorEntry(Entry entry)
Creates a new replica monitor entry from the provided entry. |
Method Summary | |
---|---|
java.lang.String |
getBaseDN()
Retrieves the base DN for this replica. |
java.lang.Long |
getCurrentReceiveWindowSize()
Retrieves the current receive window size for this replica. |
java.lang.Long |
getCurrentSendWindowSize()
Retrieves the current send window size for this replica. |
java.lang.String |
getGenerationID()
Retrieves the generation ID for this replica. |
java.lang.Long |
getLostConnections()
Retrieves the number of times this replica has lost the connection to a replication server. |
java.lang.Long |
getMaximumReceiveWindowSize()
Retrieves the maximum receive window size for this replica. |
java.lang.Long |
getMaximumSendWindowSize()
Retrieves the maximum send window size for this replica. |
java.util.Map<java.lang.String,MonitorAttribute> |
getMonitorAttributes()
Retrieves the set of parsed monitor attributes for this monitor entry, mapped from a unique identifier (in all lowercase characters) to the corresponding monitor attribute. |
java.lang.String |
getMonitorDescription()
Retrieves a human-readable description name for this monitor entry. |
java.lang.String |
getMonitorDisplayName()
Retrieves a human-readable display name for this monitor entry. |
java.lang.Long |
getPendingUpdates()
Retrieves the number of updates that are currently in progress in the Directory Server and have not yet been sent to the replication server. |
java.lang.Long |
getReceivedUpdates()
Retrieves the number of updates that this replica has received from the replication server. |
java.lang.String |
getReplicaID()
Retrieves the replica ID for this replica. |
java.lang.String |
getReplicationServerAddress()
Retrieves the address of the replication server to which this replica is connected. |
java.lang.Long |
getReplicationServerPort()
Retrieves the port number of the replication server to which this replica is connected. |
java.lang.Long |
getSentUpdates()
Retrieves the number of updates that this replica has sent to the replication server. |
java.lang.Long |
getTotalUpdatesReplayed()
Retrieves the total number of updates that have been replayed in this replica. |
java.lang.Long |
getUnresolvedNamingConflicts()
Retrieves the number of updates that could not be replayed as a result of a naming conflict that could not be automatically resolved. |
java.lang.Long |
getUpdatesReplayedAfterModifyConflict()
Retrieves the number of updates that have been replayed in this replica after automatically resolving a modify conflict. |
java.lang.Long |
getUpdatesReplayedAfterNamingConflict()
Retrieves the number of updates that have been replayed in this replica after automatically resolving a naming conflict. |
java.lang.Long |
getUpdatesSuccessfullyReplayed()
Retrieves the number of updates that have been successfully replayed in this replica without conflicts. |
java.lang.Boolean |
useSSL()
Indicates whether this replica uses SSL when communicating with the replication server. |
Methods inherited from class com.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry |
---|
addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, decode, getBoolean, getDate, getDN, getDouble, getEntry, getInteger, getLong, getMonitorClass, getMonitorName, getString, getStrings, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplicaMonitorEntry(Entry entry)
entry
- The entry to be parsed as a replica monitor entry. It must
not be null
.Method Detail |
---|
public java.lang.String getBaseDN()
null
if it was not
included in the monitor entry.public java.lang.String getReplicaID()
null
if it was not
included in the monitor entry.public java.lang.String getGenerationID()
null
if it was not
included in the monitor entry.public java.lang.String getReplicationServerAddress()
null
if it was not included in the monitor
entry.public java.lang.Long getReplicationServerPort()
null
if it was not included in the monitor
entry.public java.lang.Boolean useSSL()
Boolean.TRUE
if this replica uses SSL when communicating
with the replication server, Booelan.FALSE
if it does not
use SSL, or null
if it was not included in the monitor
entry.public java.lang.Long getLostConnections()
null
if it was not included in the
monitor entry.public java.lang.Long getReceivedUpdates()
null
if it was not included in the
monitor entry.public java.lang.Long getSentUpdates()
null
if it was not included in the
monitor entry.public java.lang.Long getPendingUpdates()
null
if it was not included in the monitor
entry.public java.lang.Long getTotalUpdatesReplayed()
null
if it was not included in the monitor
entry.public java.lang.Long getUpdatesSuccessfullyReplayed()
null
if it was not included
in the monitor entry.public java.lang.Long getUpdatesReplayedAfterModifyConflict()
null
if it was not included in the monitor entry.public java.lang.Long getUpdatesReplayedAfterNamingConflict()
null
if it was not included in the monitor entry.public java.lang.Long getUnresolvedNamingConflicts()
null
if it was not included in the monitor entry.public java.lang.Long getCurrentReceiveWindowSize()
null
if it was not included in the monitor entry.public java.lang.Long getCurrentSendWindowSize()
null
if
it was not included in the monitor entry.public java.lang.Long getMaximumReceiveWindowSize()
null
if it was not included in the monitor entry.public java.lang.Long getMaximumSendWindowSize()
null
if
it was not included in the monitor entry.public java.lang.String getMonitorDisplayName()
getMonitorDisplayName
in class MonitorEntry
public java.lang.String getMonitorDescription()
getMonitorDescription
in class MonitorEntry
public java.util.Map<java.lang.String,MonitorAttribute> getMonitorAttributes()
getMonitorAttributes
in class MonitorEntry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |