com.unboundid.ldap.sdk.unboundidds.monitors
Class ReplicationSummaryReplicationServer

java.lang.Object
  extended by 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

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 provides a data structure that contains information about a replication server contained in a replication summary monitor entry.

See Also:
Serialized Form

Constructor Summary
ReplicationSummaryReplicationServer(java.lang.String value)
          Creates a new replication summary replication server object from the provided string representation.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 class java.lang.Object
Returns:
A string representation of this replication summary replica.