Skip navigation links
oracle.idm.connection
Class ConnectionEvent.CountInfo
java.lang.Object
oracle.idm.connection.info.CountInfo
oracle.idm.connection.Connection.Operation.CountInfo
oracle.idm.connection.ConnectionEvent.CountInfo
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable, XmlPrintable
- Enclosing class:
- ConnectionEvent
-
public static class ConnectionEvent.CountInfo
- extends Connection.Operation.CountInfo
This class maintains connection event count information.
Note: this class has a natural ordering that is inconsistent with equals.
Fields inherited from class oracle.idm.connection.info.CountInfo |
captureCount, closeCount, invalidateCount, openCount, proxyCount, releaseCount, removeCount, returnCount, tag, UNKNOWN, validateCount |
Constructor Summary |
protected |
ConnectionEvent.CountInfo(java.lang.String status, java.lang.String type)
Constructor for count info. |
Methods inherited from class oracle.idm.connection.info.CountInfo |
count, discount, getCaptureCount, getCloseCount, getInvalidateCount, getOpenCount, getProxyCount, getReleaseCount, getRemoveCount, getReturnCount, getType, getValidateCount, isMatchingType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionEvent.CountInfo
protected ConnectionEvent.CountInfo(java.lang.String status,
java.lang.String type)
- Constructor for count info.
getStatus
public java.lang.String getStatus()
- Returns the status parameter.
isMatchingStatus
public final boolean isMatchingStatus(java.lang.String status)
- Tests if the count info status value matches.
Every count info matches the Connection.Status.EVERY value.
-
- Returns:
- true if the status matches, false otherwise
count
protected void count(ConnectionEvent event)
- Counts connection event.
discount
protected void discount(ConnectionEvent event)
- Discounts connection event.
compareTo
public int compareTo(java.lang.Object that)
-
- Specified by:
compareTo
in interface java.lang.Comparable
- Overrides:
compareTo
in class CountInfo
xprint
public void xprint(XmlPrintWriter out)
- Description copied from class:
CountInfo
- Prints count info properties to the PrintWriter as an XML element.
-
- Specified by:
xprint
in interface XmlPrintable
- Overrides:
xprint
in class CountInfo
-
- Parameters:
out
- PrintWriter for printing count info propeties.
Skip navigation links