public class CounterImpl extends Counter
DUMMY_COUNTER
LAZY_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, createCounter
isActive, log, toString
public long getValue()
Counter
public void increase()
Counter
public void reset()
Counter
public void destroy()
Counter
public 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
-