@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class LoadBalancingAlgorithmMonitorEntry extends MonitorEntry
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.
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.Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
LOAD_BALANCING_ALGORITHM_MONITOR_OC
The structural object class used in LDAP external server monitor entries.
|
Constructor and Description |
---|
LoadBalancingAlgorithmMonitorEntry(Entry entry)
Creates a new load-balancing algorithm monitor entry from the provided
entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithmName()
Retrieves the name of the load-balancing algorithm.
|
java.lang.String |
getConfigEntryDN()
Retrieves the DN of the configuration entry for the load-balancing
algorithm.
|
HealthCheckState |
getHealthCheckState()
Retrieves the aggregate health check state for the load-balancing
algorithm.
|
HealthCheckState |
getLocalServersHealthCheckState()
Retrieves the aggregate health check state for local servers for the
load-balancing algorithm.
|
java.util.Map<java.lang.String,MonitorAttribute> |
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.
|
java.lang.String |
getMonitorDescription()
Retrieves a human-readable description name for this monitor entry.
|
java.lang.String |
getMonitorDisplayName()
Retrieves a human-readable display name for this monitor entry.
|
HealthCheckState |
getNonLocalServersHealthCheckState()
Retrieves the aggregate health check state for non-local servers for the
load-balancing algorithm.
|
java.lang.Long |
getNumAvailableServers()
Retrieves the number of servers associated with the load-balancing
algorithm that have a health check state of AVAILABLE.
|
java.lang.Long |
getNumDegradedServers()
Retrieves the number of servers associated with the load-balancing
algorithm that have a health check state of DEGRADED.
|
java.lang.Long |
getNumUnavailableServers()
Retrieves the number of servers associated with the load-balancing
algorithm that have a health check state of UNAVAILABLE.
|
java.util.List<LoadBalancingAlgorithmServerAvailabilityData> |
getServerAvailabilityData()
Retrieves a list with information about the healths of the individual LDAP
external servers associated with the load-balancing algorithm.
|
addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, decode, getBoolean, getDate, getDN, getDouble, getEntry, getInteger, getLong, getMonitorClass, getMonitorName, getString, getStrings, toString, toString
@NotNull protected static final java.lang.String LOAD_BALANCING_ALGORITHM_MONITOR_OC
public LoadBalancingAlgorithmMonitorEntry(@NotNull Entry entry)
entry
- The entry to be parsed as a load-balancing algorithm monitor
entry. It must not be null
.@Nullable public java.lang.String getAlgorithmName()
null
if it
was not included in the monitor entry.@Nullable public java.lang.String getConfigEntryDN()
null
if it was not included in the monitor
entry.@Nullable public HealthCheckState getHealthCheckState()
null
if it was not included in the monitor
entry.@Nullable public HealthCheckState getLocalServersHealthCheckState()
null
if it was not included
in the monitor entry.@Nullable public HealthCheckState getNonLocalServersHealthCheckState()
null
if it was not included
in the monitor entry.@NotNull public java.util.List<LoadBalancingAlgorithmServerAvailabilityData> getServerAvailabilityData()
@Nullable public java.lang.Long getNumAvailableServers()
null
if it
was not included in the monitor entry.@Nullable public java.lang.Long getNumDegradedServers()
null
if it
was not included in the monitor entry.@Nullable public java.lang.Long getNumUnavailableServers()
null
if
it was not included in the monitor entry.@NotNull public java.lang.String getMonitorDisplayName()
getMonitorDisplayName
in class MonitorEntry
@NotNull public java.lang.String getMonitorDescription()
getMonitorDescription
in class MonitorEntry
@NotNull public java.util.Map<java.lang.String,MonitorAttribute> getMonitorAttributes()
getMonitorAttributes
in class MonitorEntry