public class CounterImpl extends Counter
DUMMY_COUNTERLAZY_NOUN_TYPE, mEnableDms, mEnablePerfLog, mIndex, mLevel, mSensorFullName, sIdxLogger, sLogger| Modifier and Type | Method and Description |
|---|---|
static Counter |
createDMSCounter(java.util.logging.Level level,
java.lang.String groupName,
java.lang.String name,
java.lang.String type,
java.lang.String desc,
oracle.dms.instrument.SegregationType sgType) |
void |
destroy()
Destroy up the counter value.
|
long |
getValue()
Get counter current value.
|
void |
increase()
Increase the counter to indicate an event occurred.
|
void |
reset()
Clean up the counter value.
|
createCounter, createCounter, createCounterisActive, log, toStringpublic long getValue()
Counterpublic void increase()
Counterpublic void reset()
Counterpublic void destroy()
Counterpublic static Counter createDMSCounter(java.util.logging.Level level, java.lang.String groupName, java.lang.String name, java.lang.String type, java.lang.String desc, oracle.dms.instrument.SegregationType sgType)
level - groupName - name - type - desc - sgType -