Class LoadBalancingAlgorithmMonitorEntry
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry
com.unboundid.ldap.sdk.unboundidds.monitors.LoadBalancingAlgorithmMonitorEntry
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class LoadBalancingAlgorithmMonitorEntry
extends MonitorEntry
This class defines a monitor entry that provides information about a
load-balancing algorithm used by the Directory Proxy Server.
Information that it may make available includes:
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.
Information that it may make available includes:
- The aggregate health check state for servers associated with the load-balancing algorithm.
- Information about each server associated with the load-balancing algorithm, including the address, port, and health check state for the server.
- The number of available, degraded, and unavailable servers associated with the load-balancing algorithm.
MonitorManager.getLoadBalancingAlgorithmMonitorEntries(com.unboundid.ldap.sdk.LDAPConnection) method. These
entries provide specific methods for accessing this information.
Alternately, the 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe structural object class used in LDAP external server monitor entries. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new load-balancing algorithm monitor entry from the provided entry. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the name of the load-balancing algorithm.Retrieves the DN of the configuration entry for the load-balancing algorithm.Retrieves the aggregate health check state for the load-balancing algorithm.Retrieves the aggregate health check state for local servers for the load-balancing algorithm.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 aggregate health check state for non-local servers for the load-balancing algorithm.Retrieves the number of servers associated with the load-balancing algorithm that have a health check state of AVAILABLE.Retrieves the number of servers associated with the load-balancing algorithm that have a health check state of DEGRADED.Retrieves the number of servers associated with the load-balancing algorithm that have a health check state of UNAVAILABLE.Retrieves a list with information about the healths of the individual LDAP external servers associated with the load-balancing algorithm.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
-
Field Details
-
LOAD_BALANCING_ALGORITHM_MONITOR_OC
The structural object class used in LDAP external server monitor entries.- See Also:
-
-
Constructor Details
-
LoadBalancingAlgorithmMonitorEntry
Creates a new load-balancing algorithm monitor entry from the provided entry.- Parameters:
entry- The entry to be parsed as a load-balancing algorithm monitor entry. It must not benull.
-
-
Method Details
-
getAlgorithmName
Retrieves the name of the load-balancing algorithm.- Returns:
- The name of the load-balancing algorithm, or
nullif it was not included in the monitor entry.
-
getConfigEntryDN
Retrieves the DN of the configuration entry for the load-balancing algorithm.- Returns:
- The DN of the configuration entry for the load-balancing
algorithm, or
nullif it was not included in the monitor entry.
-
getHealthCheckState
Retrieves the aggregate health check state for the load-balancing algorithm.- Returns:
- The aggregate health check state for the load-balancing algorithm,
or
nullif it was not included in the monitor entry.
-
getLocalServersHealthCheckState
Retrieves the aggregate health check state for local servers for the load-balancing algorithm.- Returns:
- The aggregate health check state for local servers for the
load-balancing algorithm, or
nullif it was not included in the monitor entry.
-
getNonLocalServersHealthCheckState
Retrieves the aggregate health check state for non-local servers for the load-balancing algorithm.- Returns:
- The aggregate health check state for non-local servers for the
load-balancing algorithm, or
nullif it was not included in the monitor entry.
-
getServerAvailabilityData
Retrieves a list with information about the healths of the individual LDAP external servers associated with the load-balancing algorithm.- Returns:
- A list with information about the healths of the individual LDAP external servers associated with the load-balancing algorithm, or an empty list if it was not included in the monitor entry.
-
getNumAvailableServers
Retrieves the number of servers associated with the load-balancing algorithm that have a health check state of AVAILABLE.- Returns:
- The number of servers associated with the load-balancing algorithm
that have a health check state of AVAILABLE, or
nullif it was not included in the monitor entry.
-
getNumDegradedServers
Retrieves the number of servers associated with the load-balancing algorithm that have a health check state of DEGRADED.- Returns:
- The number of servers associated with the load-balancing algorithm
that have a health check state of DEGRADED, 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.
-