|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.idm.connection.info.PredicateInfo
public abstract class PredicateInfo
This class contains the common properties of predication occurrences.
Field Summary | |
---|---|
static long |
DEFAULT_TIMEOUT The default timeout is UNKNOWN. |
protected java.lang.String |
tag Tag used to print the predicate info properties as an XML element. |
protected java.lang.String |
tagPredicated Tag used to print the predicated property as an XML alement attribute. |
static long |
UNKNOWN This field specifies unknown long value setting, such as unknown time stamp. |
Constructor Summary | |
---|---|
protected |
PredicateInfo() Constructor for predicate info. |
Method Summary | |
---|---|
java.lang.Object |
clone() Clones predicate info. |
int |
getCount() Returns the predication count. |
long |
getDuration() Returns the duration since the last predication, or UNKNOWN. |
Record |
getRecord() Returns the recorded predication metrics. |
protected long |
getTimeout() Returns the amount of time allowed following the predication. |
long |
getTimeStamp() Returns the last predication time stamp, or UNKNOWN. |
protected boolean |
hasTimedout() Always throws UnimplementedOperationException, needs to be override by subclasses which implement the timeout property support. |
protected boolean |
hasTimedout(long timeout) Returns true if the amount of time allowed following the predication has been exceeded. |
protected boolean |
isPredicated() Returns true if currently predicated, false otherwise. |
protected void |
recordBeginning() Records the beginning of predication. |
protected void |
recordEnding() Records the ending of predication. |
protected void |
resetTimeout() Resets the amount of time allowed following the predication to DEFAULT_TIMEOUT. |
protected void |
setTimeout(long timeout) Sets the amount of time allowed following the predication. |
void |
xprint(XmlPrintWriter out) Prints predicate info properties to the PrintWriter as an XML element. |
protected void |
xprintBody(XmlPrintWriter out) This method prints the predicate info XML tag body. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long UNKNOWN
public static final long DEFAULT_TIMEOUT
protected java.lang.String tag
protected java.lang.String tagPredicated
Constructor Detail |
---|
protected PredicateInfo()
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
protected boolean isPredicated()
public int getCount()
public long getTimeStamp()
public long getDuration()
protected long getTimeout()
protected void setTimeout(long timeout)
protected void resetTimeout()
protected boolean hasTimedout(long timeout)
protected boolean hasTimedout()
public Record getRecord()
protected void recordBeginning()
protected void recordEnding()
public void xprint(XmlPrintWriter out)
xprint
in interface XmlPrintable
out
- PrintWriter for printing predicate info propeties.protected void xprintBody(XmlPrintWriter out)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |