Class ReplicaMonitorEntry
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry
com.unboundid.ldap.sdk.unboundidds.monitors.ReplicaMonitorEntry
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class ReplicaMonitorEntry
extends MonitorEntry
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
The server should present a replica monitor entry for each replicated base DN. They can be retrieved using the
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
The server should present a replica monitor entry for each replicated base DN. They can be retrieved using the
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.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReplicaMonitorEntry(Entry entry) Creates a new replica monitor entry from the provided entry. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the age, in milliseconds, of the oldest operation in the pending changes queue.Retrieves the base DN for this replica.Retrieves the number of conflict entries that currently exist in the associated backend.Retrieves the current receive window size for this replica.Retrieves the current send window size for this replica.Retrieves the generation ID for this replica.Retrieves the latency, in milliseconds, of the last update that was successfully replayed.Retrieves the number of times this replica has lost the connection to a replication server.Retrieves the maximum receive window size for this replica.Retrieves the maximum send window size for this replica.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.Retrieves a human-readable description name for this monitor entry.Retrieves a human-readable display name for this monitor entry.Retrieves the completion time for the oldest change that has been applied in one or other replicas but has not yet been applied in the local server.Retrieves the number of changes in the pending changes queue that have not yet been committed to the local database.Retrieves the largest number of operations that have been in the pending changes queue at any time.Retrieves the maximum number of operations that may be held in the pending changes queue.Retrieves the number of times that the server attempted to add a change to the pending changes queue when it was already full.Retrieves the number of times that the server has logged that an operation in the pending changes queue has stalled.Retrieves the number of updates that are currently in progress in the Directory Server and have not yet been sent to the replication server.Retrieves the number of acknowledgements that this replica has received from other servers.Retrieves the number of updates that this replica has received from the replication server.Retrieves the average replication latency, in milliseconds, for operations processed over a recent interval.Retrieves the maximum replication latency, in milliseconds, for any operation processed over a recent interval.Retrieves the minimum replication latency, in milliseconds, for any operation processed over a recent interval.Retrieves the number of negative replication latencies encountered over a recent interval.Retrieves the sum of latencies, in milliseconds, for operations processed over a recent interval.Retrieves the number of operations processed over the recent interval used for recent replication latency calculations.Retrieves the replica ID for this replica.Retrieves the number of changes that were processed with replication assurance but could not be completed successfully within the assurance constraints.Retrieves the number of changes that were processed with replication assurance and completed successfully within the assurance constraints.Retrieves the number of changes that were processed with replication assurance but could not be completed successfully within the assurance constraints because of a server shutdown.Retrieves the number of changes that were processed with replication assurance but could not be completed successfully within the assurance constraints because a timeout was encountered.Retrieves the number of changes that have begun processing with replication assurance enabled.Retrieves the number of changes that have been applied in one or more other replicas but have not yet been applied in the local server.Retrieves the address of the replication server to which this replica is connected.Retrieves the port number of the replication server to which this replica is connected.Retrieves the number of add operations that failed on their initial attempt, were requeued, and failed again on a retry.Retrieves the number of add operations that failed on their initial attempt, but that were requeued and succeeded on a retry.Retrieves the number of delete operations that failed on their initial attempt, were requeued, and failed again on a retry.Retrieves the number of delete operations that failed on their initial attempt, but that were requeued and succeeded on a retry.Retrieves the number of modify DN operations that failed on their initial attempt, were requeued, and failed again on a retry.Retrieves the number of modify DN operations that failed on their initial attempt, but that were requeued and succeeded on a retry.Retrieves the number of modify operations that failed on their initial attempt, were requeued, and failed again on a retry.Retrieves the number of modify operations that failed on their initial attempt, but that were requeued and succeeded on a retry.Retrieves the number of operations of any type that failed on their initial attempt, were requeued, and failed again on a retry.Retrieves the number of operations of any type that failed on their initial attempt, but that were requeued and succeeded on a retry.Retrieves the average length of time, in milliseconds, required to successfully process operations on a retry attempt after the initial failure.Retrieves the maximum length of time, in milliseconds, required to successfully process an operation on a retry attempt after the initial failure.Retrieves the total length of time, in milliseconds, required to process operations that succeeded on a retry attempt after an initial failure.Retrieves the number of acknowledgements that this replica has sent to other servers.Retrieves the number of updates that this replica has sent to the replication server.Retrieves the average replication latency, in milliseconds, for operations processed since the server was started.Retrieves the maximum replication latency, in milliseconds, for any operation processed since the server was started.Retrieves the minimum replication latency, in milliseconds, for any operation processed since the server was started.Retrieves the number of negative replication latencies encountered since the server was started.Retrieves the sum of latencies, in milliseconds, for operations processed since the server was started.Retrieves the total number of replicated operations processed since the server started.Retrieves the total number of updates that have been replayed in this replica.Retrieves the number of updates that could not be replayed as a result of a naming conflict that could not be automatically resolved.Retrieves the number of failures that have occurred while attempting to replay changes.Retrieves the number of updates that have been replayed in this replica after automatically resolving a modify conflict.Retrieves the number of updates that have been replayed in this replica after automatically resolving a naming conflict.Retrieves the number of updates that have been successfully replayed in this replica without conflicts.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
-
Constructor Details
-
ReplicaMonitorEntry
Creates a new replica monitor entry from the provided entry.- Parameters:
entry- The entry to be parsed as a replica monitor entry. It must not benull.
-
-
Method Details
-
getBaseDN
Retrieves the base DN for this replica.- Returns:
- The base DN for this replica, or
nullif it was not included in the monitor entry.
-
getReplicaID
Retrieves the replica ID for this replica.- Returns:
- The replica ID for this replica, or
nullif it was not included in the monitor entry.
-
getGenerationID
Retrieves the generation ID for this replica.- Returns:
- The generation ID for this replica, or
nullif it was not included in the monitor entry.
-
getReplicationServerAddress
Retrieves the address of the replication server to which this replica is connected.- Returns:
- The address of the replication server to which this replica is
connected, or
nullif it was not included in the monitor entry.
-
getReplicationServerPort
Retrieves the port number of the replication server to which this replica is connected.- Returns:
- The port number of the replication server to which this replica is
connected, or
nullif it was not included in the monitor entry.
-
useSSL
Indicates whether this replica uses SSL when communicating with the replication server.- Returns:
Boolean.TRUEif this replica uses SSL when communicating with the replication server,Boolean.FALSEif it does not use SSL, ornullif it was not included in the monitor entry.
-
getLostConnections
Retrieves the number of times this replica has lost the connection to a replication server.- Returns:
- The number of times this replica has lost the connection to a
replication server, or
nullif it was not included in the monitor entry.
-
getTotalUpdateCount
Retrieves the total number of replicated operations processed since the server started.- Returns:
- The total number of replicated operations processed since the
server started, or
nullif it was not included in the monitor entry.
-
getReceivedUpdates
Retrieves the number of updates that this replica has received from the replication server.- Returns:
- The number of updates that this replica has received from the
replication server, or
nullif it was not included in the monitor entry.
-
getSentUpdates
Retrieves the number of updates that this replica has sent to the replication server.- Returns:
- The number of updates that this replica has sent to the
replication server, or
nullif it was not included in the monitor entry.
-
getReceivedAcks
Retrieves the number of acknowledgements that this replica has received from other servers.- Returns:
- The number of acknowledgements that this replica has received
from other servers, or
nullif it was not included in the monitor entry.
-
getSentAcks
Retrieves the number of acknowledgements that this replica has sent to other servers.- Returns:
- The number of acknowledgements that this replica has sent to
other servers, or
nullif it was not included in the monitor entry.
-
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.- Returns:
- The number of updates that are currently in progress in the
Directory Server and have not yet been sent to the replication
server, or
nullif it was not included in the monitor entry.
-
getTotalUpdatesReplayed
Retrieves the total number of updates that have been replayed in this replica.- Returns:
- The total number of updates that have been replayed in this
replica, or
nullif it was not included in the monitor entry.
-
getUpdatesSuccessfullyReplayed
Retrieves the number of updates that have been successfully replayed in this replica without conflicts.- Returns:
- The number of updates that have been successfully replayed in this
replica without conflicts, or
nullif it was not included in the monitor entry.
-
getUpdateReplayFailures
Retrieves the number of failures that have occurred while attempting to replay changes.- Returns:
- The number of failures that have occurred while attempting to
replay changes, or
nullif it was not included in the monitor entry.
-
getUpdatesReplayedAfterModifyConflict
Retrieves the number of updates that have been replayed in this replica after automatically resolving a modify conflict.- Returns:
- The number of updates that have been replayed in this replica
after automatically resolving a modify conflict, or
nullif it was not included in the monitor entry.
-
getUpdatesReplayedAfterNamingConflict
Retrieves the number of updates that have been replayed in this replica after automatically resolving a naming conflict.- Returns:
- The number of updates that have been replayed in this replica
after automatically resolving a naming conflict, or
nullif it was not included in the monitor entry.
-
getUnresolvedNamingConflicts
Retrieves the number of updates that could not be replayed as a result of a naming conflict that could not be automatically resolved.- Returns:
- The number of updates that could not be replayed as a result of a
naming conflict that could not be automatically resolved, or
nullif it was not included in the monitor entry.
-
getConflictEntryCount
Retrieves the number of conflict entries that currently exist in the associated backend.- Returns:
- The number of conflict entries that currently exist in the
associated backend, or
nullif it was not included in the monitor entry. The name of the attribute that contains the number of conflict entries that currently exist in the associated backend.
-
getCurrentReceiveWindowSize
Retrieves the current receive window size for this replica.- Returns:
- The current receive window size for this replica, or
nullif it was not included in the monitor entry.
-
getCurrentSendWindowSize
Retrieves the current send window size for this replica.- Returns:
- The current send window size for this replica, or
nullif it was not included in the monitor entry.
-
getMaximumReceiveWindowSize
Retrieves the maximum receive window size for this replica.- Returns:
- The maximum receive window size for this replica, or
nullif it was not included in the monitor entry.
-
getMaximumSendWindowSize
Retrieves the maximum send window size for this replica.- Returns:
- The maximum send window size for this replica, or
nullif it was not included in the monitor entry.
-
getReplicationBacklog
Retrieves the number of changes that have been applied in one or more other replicas but have not yet been applied in the local server.- Returns:
- The number of changes that have been applied in one or more other
replicas but have not yet been applied in the local server, or
nullif it was not included in the monitor entry.
-
getOldestBacklogChangeTime
Retrieves the completion time for the oldest change that has been applied in one or other replicas but has not yet been applied in the local server.- Returns:
- The completion time for the oldest change that has been applied in
one or more other replicas but has not yet been applied in the
local server, or
nullif it was not included in the monitor entry.
-
getPendingChangesCurrentUncommittedSize
Retrieves the number of changes in the pending changes queue that have not yet been committed to the local database.- Returns:
- The number of changes in the pending changes queue that have not
yet been committed to the local database, or
nullif it was not included in the monitor entry.
-
getAgeOfOldestPendingUpdateMillis
Retrieves the age, in milliseconds, of the oldest operation in the pending changes queue.- Returns:
- The age, in milliseconds, of the oldest operation in the pending
changes queue, or
nullif it was not included in the monitor entry.
-
getPendingChangesMaxCapacity
Retrieves the maximum number of operations that may be held in the pending changes queue.- Returns:
- The maximum number of operations that may be held in the pending
changes queue, or
nullif it was not included in the monitor entry.
-
getPendingChangesLargestSizeReached
Retrieves the largest number of operations that have been in the pending changes queue at any time.- Returns:
- The largest number of operations that have been in the pending
changes queue at any time, or
nullif it was not included in the monitor entry.
-
getPendingChangesNumTimesAddedToFullQueue
Retrieves the number of times that the server attempted to add a change to the pending changes queue when it was already full.- Returns:
- The number of times that the server attempted to add a change to
the pending changes queue when it was already full, or
nullif it was not included in the monitor entry.
-
getPendingChangesNumTimesStallLogged
Retrieves the number of times that the server has logged that an operation in the pending changes queue has stalled.- Returns:
- The number of times that the server has logged that an operation
in the pending changes queue has stalled, or
nullif it was not included in the monitor entry.
-
getLastUpdateLatencyMillis
Retrieves the latency, in milliseconds, of the last update that was successfully replayed.- Returns:
- The latency, in milliseconds, of the last update that was
successfully replayed, or
nullif it was not included in the monitor entry.
-
getRecentAverageLatencyMillis
Retrieves the average replication latency, in milliseconds, for operations processed over a recent interval.- Returns:
- The average replication latency, in milliseconds, for operations
processed over a recent interval, or
nullif it was not included in the monitor entry.
-
getRecentMaximumLatencyMillis
Retrieves the maximum replication latency, in milliseconds, for any operation processed over a recent interval.- Returns:
- The maximum replication latency, in milliseconds, for any
operation processed over a recent interval, or
nullif it was not included in the monitor entry.
-
getRecentMinimumLatencyMillis
Retrieves the minimum replication latency, in milliseconds, for any operation processed over a recent interval.- Returns:
- The minimum replication latency, in milliseconds, for any
operation processed over a recent interval, or
nullif it was not included in the monitor entry.
-
getRecentNegativeLatencyUpdateCount
Retrieves the number of negative replication latencies encountered over a recent interval.- Returns:
- The number of negative replication latencies encountered over a
recent interval, or
nullif it was not included in the monitor entry.
-
getRecentSumLatencyMillis
Retrieves the sum of latencies, in milliseconds, for operations processed over a recent interval.- Returns:
- The sum of latencies, in milliseconds, for operations processed
over a recent interval, or
nullif it was not included in the monitor entry.
-
getRecentUpdateCount
Retrieves the number of operations processed over the recent interval used for recent replication latency calculations.- Returns:
- The number of operations processed over the recent interval, or
nullif it was not included in the monitor entry.
-
getTotalAverageLatencyMillis
Retrieves the average replication latency, in milliseconds, for operations processed since the server was started.- Returns:
- The average replication latency, in milliseconds, for operations
processed since the server was started, or
nullif it was not included in the monitor entry.
-
getTotalMaximumLatencyMillis
Retrieves the maximum replication latency, in milliseconds, for any operation processed since the server was started.- Returns:
- The maximum replication latency, in milliseconds, for any
operation processed since the server was started, or
nullif it was not included in the monitor entry.
-
getTotalMinimumLatencyMillis
Retrieves the minimum replication latency, in milliseconds, for any operation processed since the server was started.- Returns:
- The minimum replication latency, in milliseconds, for any
operation processed since the server was started, or
nullif it was not included in the monitor entry.
-
getTotalNegativeLatencyUpdateCount
Retrieves the number of negative replication latencies encountered since the server was started.- Returns:
- The number of negative replication latencies encountered since the
server was started, or
nullif it was not included in the monitor entry.
-
getTotalSumLatencyMillis
Retrieves the sum of latencies, in milliseconds, for operations processed since the server was started.- Returns:
- The sum of latencies, in milliseconds, for operations processed since the server was started.
-
getReplicationAssuranceSubmittedOperations
Retrieves the number of changes that have begun processing with replication assurance enabled.- Returns:
- The number of changes that have begun processing with replication
assurance enabled, or
nullif it was not included in the monitor entry.
-
getReplicationAssuranceCompletedNormally
Retrieves the number of changes that were processed with replication assurance and completed successfully within the assurance constraints.- Returns:
- The number of changes that were processed with replication
assurance and completed successfully within the assurance
constraints, or
nullif it was not included in the monitor entry.
-
getReplicationAssuranceCompletedAbnormally
Retrieves the number of changes that were processed with replication assurance but could not be completed successfully within the assurance constraints.- Returns:
- The number of changes that were processed with replication
assurance but could not be completed successfully within the
assurance constraints, or
nullif it was not included in the monitor entry.
-
getReplicationAssuranceCompletedWithTimeout
Retrieves the number of changes that were processed with replication assurance but could not be completed successfully within the assurance constraints because a timeout was encountered.- Returns:
- The number of changes that were processed with replication
assurance but could not be completed successfully within the
assurance constraints because a timeout was encountered, or
nullif it was not included in the monitor entry.
-
getReplicationAssuranceCompletedWithShutdown
Retrieves the number of changes that were processed with replication assurance but could not be completed successfully within the assurance constraints because of a server shutdown.- Returns:
- The number of changes that were processed with replication
assurance but could not be completed successfully within the
assurance constraints because of a server shutdown, or
nullif it was not included in the monitor entry.
-
getRequeueRetryOpSuccessCount
Retrieves the number of operations of any type that failed on their initial attempt, but that were requeued and succeeded on a retry.- Returns:
- The number of operations of any type that failed on their initial
attempt, but that were requeued and succeeded on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetryOpFailedCount
Retrieves the number of operations of any type that failed on their initial attempt, were requeued, and failed again on a retry.- Returns:
- The number of operations of any type that failed on their initial
attempt, were requeued, and failed again on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetryAddSuccessCount
Retrieves the number of add operations that failed on their initial attempt, but that were requeued and succeeded on a retry.- Returns:
- The number of add operations that failed on their initial attempt,
but that were requeued and succeeded on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetryAddFailedCount
Retrieves the number of add operations that failed on their initial attempt, were requeued, and failed again on a retry.- Returns:
- The number of add operations that failed on their initial attempt,
were requeued, and failed again on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetryDeleteSuccessCount
Retrieves the number of delete operations that failed on their initial attempt, but that were requeued and succeeded on a retry.- Returns:
- The number of delete operations that failed on their initial
attempt, but that were requeued and succeeded on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetryDeleteFailedCount
Retrieves the number of delete operations that failed on their initial attempt, were requeued, and failed again on a retry.- Returns:
- The number of delete operations that failed on their initial
attempt, were requeued, and failed again on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetryModifySuccessCount
Retrieves the number of modify operations that failed on their initial attempt, but that were requeued and succeeded on a retry.- Returns:
- The number of modify operations that failed on their initial
attempt, but that were requeued and succeeded on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetryModifyFailedCount
Retrieves the number of modify operations that failed on their initial attempt, were requeued, and failed again on a retry.- Returns:
- The number of modify operations that failed on their initial
attempt, were requeued, and failed again on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetryModifyDNSuccessCount
Retrieves the number of modify DN operations that failed on their initial attempt, but that were requeued and succeeded on a retry.- Returns:
- The number of modify DN operations that failed on their initial
attempt, but that were requeued and succeeded on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetryModifyDNFailedCount
Retrieves the number of modify DN operations that failed on their initial attempt, were requeued, and failed again on a retry.- Returns:
- The number of modify DN operations that failed on their initial
attempt, were requeued, and failed again on a retry, or
nullif it was not included in the monitor entry.
-
getRequeueRetrySuccessAverageDurationMillis
Retrieves the average length of time, in milliseconds, required to successfully process operations on a retry attempt after the initial failure.- Returns:
- The average length of time, in milliseconds, required to
successfully process operations on a retry attempt after the
initial failure, or
nullif it was not included in the monitor entry.
-
getRequeueRetrySuccessMaximumDurationMillis
Retrieves the maximum length of time, in milliseconds, required to successfully process an operation on a retry attempt after the initial failure.- Returns:
- The maximum length of time, in milliseconds, required to
successfully process an operation on a retry attempt after the
initial failure, or
nullif it was not included in the monitor entry.
-
getRequeueRetrySuccessTotalDurationMillis
Retrieves the total length of time, in milliseconds, required to process operations that succeeded on a retry attempt after an initial failure.- Returns:
- The total length of time, in milliseconds, required to process
operations that succeeded on a retry attempt after an initial
failure, or
nullif it was not included in the monitor entry.
-
getMonitorDisplayName
Retrieves a human-readable display name for this monitor entry.- Overrides:
getMonitorDisplayNamein classMonitorEntry- Returns:
- A human-readable display name for this monitor entry.
-
getMonitorDescription
Retrieves a human-readable description name for this monitor entry.- Overrides:
getMonitorDescriptionin classMonitorEntry- Returns:
- A human-readable description name for this monitor entry.
-
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.- Overrides:
getMonitorAttributesin classMonitorEntry- Returns:
- The set of parsed monitor attributes for this monitor entry.
-