|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.6.0) E10686-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.share.logging.internal.perf.ADFPerfSensor
public class ADFPerfSensor
Base class for all ADF Performance sensors: Timer, Counter, stateTracker
Field Summary | |
---|---|
protected boolean |
mEnableDms
|
protected boolean |
mEnablePerfLog
|
protected int |
mIndex
|
protected java.util.logging.Level |
mLevel
|
protected java.lang.String |
mSensorFullName
|
protected static java.util.logging.Logger |
sIdxLogger
|
protected static java.util.logging.Logger |
sLogger
|
Constructor Summary | |
---|---|
protected |
ADFPerfSensor()
creates an empty ADFPerfSensor. |
|
ADFPerfSensor(java.util.logging.Level level,
java.lang.String sensorFullName)
Constructor |
Method Summary | |
---|---|
boolean |
isActive()
Check if the sensor is active |
protected void |
log(long timeStamp,
java.lang.String value,
java.lang.String ecid)
Send sensor's metrics to performance logs. |
void |
reset()
Clean up the metrics value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String mSensorFullName
protected java.util.logging.Level mLevel
protected int mIndex
protected boolean mEnablePerfLog
protected boolean mEnableDms
protected static java.util.logging.Logger sLogger
protected static java.util.logging.Logger sIdxLogger
Constructor Detail |
---|
public ADFPerfSensor(java.util.logging.Level level, java.lang.String sensorFullName)
level
- the sensor levelsensorFullName
- the sensor full nameprotected ADFPerfSensor()
Method Detail |
---|
protected void log(long timeStamp, java.lang.String value, java.lang.String ecid)
timeStamp
- time stamp for the sensor. It is start time for timervalue
- sensor value.
Timer - elapsed time
Counter - count
StateTracker - state
ecid
- the ecid of the sensorpublic boolean isActive()
public void reset()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.6.0) E10686-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |