|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.logging.LogRecord
oracle.ide.performance.PerformanceLogRecord
public final class PerformanceLogRecord
A record logged by the performance logger. As well as a message, a record in the performance logger also has an elapsed time, obtainable via getElapsedTime()
and a depth, obtainable via getDepth()
. The depth is a number representing the number of nested calls to PerformanceLogger.log(Level,String,long)
this record was logged at. This may be used by a formatter to indent the timing information.
This class is provided so that custom formatters can obtain the extra information stored in performance log records.
Method Summary | |
---|---|
int |
getDepth() Get the depth of nested calls to PerformanceLogger.log(Level,String,long) this record was logged at. |
long |
getElapsedTime() Get the elapsed time stored with this performance log record. |
java.lang.String |
getId() |
Methods inherited from class java.util.logging.LogRecord |
---|
getLevel, getLoggerName, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getSourceClassName, getSourceMethodName, getThreadID, getThrown, setLevel, setLoggerName, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setSourceClassName, setSourceMethodName, setThreadID, setThrown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getId()
public long getElapsedTime()
public int getDepth()
PerformanceLogger.log(Level,String,long)
this record was logged at.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |