Class ReplicationSummaryReplicationServer
- java.lang.Object
-
- com.unboundid.ldap.sdk.unboundidds.monitors.ReplicationSummaryReplicationServer
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ReplicationSummaryReplicationServer extends java.lang.Object implements java.io.Serializable
This class provides a data structure that contains information about a replication server contained in a replication summary monitor entry.
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplicationSummaryReplicationServer(java.lang.String value)
Creates a new replication summary replication server object from the provided string representation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getGenerationID()
Retrieves the generation ID for this replication server.java.lang.String
getReplicationServerAddress()
Retrieves the address used to communicate with this replication server.java.lang.Long
getReplicationServerFailedAttempts()
Retrieves the number of failed connection attempts since the last successful connection to this replication server.java.lang.String
getReplicationServerID()
Retrieves the replication server ID for this replication server.java.util.Date
getReplicationServerLastConnected()
Retrieves the date of the last successful connection to this replication server.java.util.Date
getReplicationServerLastFailed()
Retrieves the date of the last failed connection to this replication server.java.lang.Long
getReplicationServerPort()
Retrieves the port number used to communicate with this replication server.java.lang.String
getReplicationServerStatus()
Retrieves the status for this replication server.java.lang.String
toString()
Retrieves a string representation of this replication summary replica.
-
-
-
Constructor Detail
-
ReplicationSummaryReplicationServer
public ReplicationSummaryReplicationServer(java.lang.String value)
Creates a new replication summary replication server object from the provided string representation.- Parameters:
value
- The value string to be parsed as a replication summary replication server object.
-
-
Method Detail
-
getReplicationServerID
public java.lang.String getReplicationServerID()
Retrieves the replication server ID for this replication server.- Returns:
- The replication server ID for this replication server, or
null
if that information is not available.
-
getReplicationServerAddress
public java.lang.String getReplicationServerAddress()
Retrieves the address used to communicate with this replication server.- Returns:
- The address used to communicate with this replication server, or
null
if that information is not available.
-
getReplicationServerPort
public java.lang.Long getReplicationServerPort()
Retrieves the port number used to communicate with this replication server.- Returns:
- The port number used to communicate with this replication server,
or
null
if that information is not available.
-
getGenerationID
public java.lang.String getGenerationID()
Retrieves the generation ID for this replication server.- Returns:
- The generation ID for this replication server, or
null
if that information is not available.
-
getReplicationServerStatus
public java.lang.String getReplicationServerStatus()
Retrieves the status for this replication server.- Returns:
- The status for this replication server, or
null
if that information is not available.
-
getReplicationServerLastConnected
public java.util.Date getReplicationServerLastConnected()
Retrieves the date of the last successful connection to this replication server.- Returns:
- The the date of the last successful connection to this replication
server, or
null
if that information is not available.
-
getReplicationServerLastFailed
public java.util.Date getReplicationServerLastFailed()
Retrieves the date of the last failed connection to this replication server.- Returns:
- The the date of the last failed connection to this replication
server, or
null
if that information is not available.
-
getReplicationServerFailedAttempts
public java.lang.Long getReplicationServerFailedAttempts()
Retrieves the number of failed connection attempts since the last successful connection to this replication server.- Returns:
- The number of failed connection attempts since the last successful
connection to this replication server, or
null
if that information is not available.
-
toString
public java.lang.String toString()
Retrieves a string representation of this replication summary replica.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of this replication summary replica.
-
-