Class OperationResultCodeInfo
- java.lang.Object
-
- com.unboundid.ldap.sdk.unboundidds.monitors.OperationResultCodeInfo
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class OperationResultCodeInfo extends java.lang.Object implements java.io.Serializable
This class provides a data structure that provides information about the result codes associated with a particular type of operation (or across all types of operations, if the associated operation type isnull).
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 java.lang.LonggetFailedCount()Retrieves the number of operations of the associated type that resulted in failure, if available.java.lang.DoublegetFailedPercent()Retrieves the percent of operations of the associated type that resulted in failure, if available.OperationTypegetOperationType()Retrieves the type of operation with which this result code information is associated, if appropriate.java.util.Map<java.lang.Integer,ResultCodeInfo>getResultCodeInfoMap()Retrieves a map with information about the result codes that have been returned for operations of the associated type, indexed by the result code's integer value.java.lang.LonggetTotalCount()Retrieves the total number of operations of the associated type that have been processed, if available.
-
-
-
Method Detail
-
getOperationType
public OperationType getOperationType()
Retrieves the type of operation with which this result code information is associated, if appropriate.- Returns:
- The type of operation with which this result code information is
associated, or
nullif this information applies to all types of operations.
-
getTotalCount
public java.lang.Long getTotalCount()
Retrieves the total number of operations of the associated type that have been processed, if available.- Returns:
- The total number of operations of the associated type that have
been processed, or
nullif this information was not in the monitor entry.
-
getFailedCount
public java.lang.Long getFailedCount()
Retrieves the number of operations of the associated type that resulted in failure, if available.- Returns:
- The number of operations of the associated type that resulted
in failure, or
nullif this information was not in the monitor entry.
-
getFailedPercent
public java.lang.Double getFailedPercent()
Retrieves the percent of operations of the associated type that resulted in failure, if available.- Returns:
- The percent of operations of the associated type that resulted
in failure, or
nullif this information was not in the monitor entry.
-
getResultCodeInfoMap
public java.util.Map<java.lang.Integer,ResultCodeInfo> getResultCodeInfoMap()
Retrieves a map with information about the result codes that have been returned for operations of the associated type, indexed by the result code's integer value.- Returns:
- A map with information about the result codes that have been returned for operations of the associated type.
-
-