Class LoadBalancingAlgorithmServerAvailabilityData
- java.lang.Object
-
- com.unboundid.ldap.sdk.unboundidds.monitors.LoadBalancingAlgorithmServerAvailabilityData
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class LoadBalancingAlgorithmServerAvailabilityData extends java.lang.Object implements java.io.Serializable
This class defines a data structure that provides information about the availability of an LDAP external server associated with a load-balancing algorithm.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundiddspackage 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckStategetHealthCheckState()Retrieves the health check state for the LDAP external server.java.lang.StringgetServerAddress()Retrieves the address for the LDAP external server.intgetServerPort()Retrieves the port number for the LDAP external server.java.lang.StringtoCompactString()Retrieves a compact representation of the server availability data, in the form in which it appears in the load-balancing algorithm monitor entry.java.lang.StringtoString()Retrieves a string representation of this server availability data object.voidtoString(java.lang.StringBuilder buffer)Appends a string representation of this server availability data object to the provided buffer.
-
-
-
Method Detail
-
getServerAddress
@NotNull public java.lang.String getServerAddress()
Retrieves the address for the LDAP external server.- Returns:
- The address for the LDAP external server.
-
getServerPort
public int getServerPort()
Retrieves the port number for the LDAP external server.- Returns:
- The port number for the LDAP external server.
-
getHealthCheckState
@NotNull public HealthCheckState getHealthCheckState()
Retrieves the health check state for the LDAP external server.- Returns:
- The health check state for the LDAP external server.
-
toString
@NotNull public java.lang.String toString()
Retrieves a string representation of this server availability data object.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of this server availability data object.
-
toString
public void toString(@NotNull java.lang.StringBuilder buffer)
Appends a string representation of this server availability data object to the provided buffer.- Parameters:
buffer- The buffer to which the information should be appended.
-
toCompactString
@NotNull public java.lang.String toCompactString()
Retrieves a compact representation of the server availability data, in the form in which it appears in the load-balancing algorithm monitor entry.- Returns:
- A compact representation of the server availability data.
-
-