|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.idm.connection.info.CountInfo
public abstract class CountInfo
This class maintains count information.
Note: this class has a natural ordering that is inconsistent with equals.
Field Summary | |
---|---|
protected int |
captureCount |
protected int |
closeCount |
protected int |
invalidateCount |
protected int |
openCount |
protected int |
proxyCount |
protected int |
releaseCount |
protected int |
removeCount |
protected int |
returnCount |
protected java.lang.String |
tag Tag used to print the object as an XML element. |
static int |
UNKNOWN Use for unknown counts. |
protected int |
validateCount |
Constructor Summary | |
---|---|
protected |
CountInfo(java.lang.String type) Constructor for count info. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object that) |
protected void |
count(CountInfo countInfo) Counts count info. |
protected void |
discount(CountInfo countInfo) Discounts count info. |
int |
getCaptureCount() Returns the capture count. |
int |
getCloseCount() Returns the close count. |
int |
getInvalidateCount() Returns the invalidate count. |
int |
getOpenCount() Returns the open count. |
int |
getProxyCount() Returns the proxy count. |
int |
getReleaseCount() Returns the release count. |
int |
getRemoveCount() Returns the remove count. |
int |
getReturnCount() Returns the return count. |
java.lang.String |
getType() Returns the connection tye for this count info. |
int |
getValidateCount() Returns the validate count. |
boolean |
isMatchingType(java.lang.String type) Tests if the count info type value matches. |
void |
xprint(XmlPrintWriter out) Prints count info properties to the PrintWriter as an XML element. |
protected void |
xprintBody(XmlPrintWriter out) This method prints the count info XML tag body. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNKNOWN
protected int openCount
protected int closeCount
protected int proxyCount
protected int captureCount
protected int releaseCount
protected int removeCount
protected int returnCount
protected int validateCount
protected int invalidateCount
protected java.lang.String tag
Constructor Detail |
---|
protected CountInfo(java.lang.String type)
Method Detail |
---|
public java.lang.String getType()
public final boolean isMatchingType(java.lang.String type)
Every count info matches the Connection.TYPE value.
public int getOpenCount()
public int getCloseCount()
public int getProxyCount()
public int getCaptureCount()
public int getReleaseCount()
public int getRemoveCount()
public int getReturnCount()
public int getValidateCount()
public int getInvalidateCount()
protected void count(CountInfo countInfo)
protected void discount(CountInfo countInfo)
public int compareTo(java.lang.Object that)
compareTo
in interface java.lang.Comparable
public void xprint(XmlPrintWriter out)
xprint
in interface XmlPrintable
out
- PrintWriter for printing count info propeties.protected void xprintBody(XmlPrintWriter out)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |