Skip navigation links


oracle.idm.connection
Class ConnectionEvent.CountInfo

java.lang.Object
  extended by oracle.idm.connection.info.CountInfo
      extended by oracle.idm.connection.Connection.Operation.CountInfo
          extended by 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.


Field Summary

 

Fields inherited from class oracle.idm.connection.Connection.Operation.CountInfo
operationCount

 

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.

 

Method Summary
 int compareTo(java.lang.Object that)
           
protected  void count(ConnectionEvent event)
          Counts connection event.
protected  void discount(ConnectionEvent event)
          Discounts connection event.
 java.lang.String getStatus()
          Returns the status parameter.
 boolean isMatchingStatus(java.lang.String status)
          Tests if the count info status value matches.
 void xprint(XmlPrintWriter out)
          Prints count info properties to the PrintWriter as an XML element.

 

Methods inherited from class oracle.idm.connection.Connection.Operation.CountInfo
count, count, discount, discount, getOperationCount, xprintBody

 

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

 

Constructor Detail

ConnectionEvent.CountInfo

protected ConnectionEvent.CountInfo(java.lang.String status,
                                    java.lang.String type)
Constructor for count info.

Method Detail

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