public class StateTrackerImpl extends StateTracker
DOUBLE, DUMMY_STATE_TRACKER, INTEGER, LONG, OBJECTLAZY_NOUN_TYPE, mEnableDms, mEnablePerfLog, mIndex, mLevel, mSensorFullName, sIdxLogger, sLogger| Modifier and Type | Method and Description |
|---|---|
static StateTracker |
createDMSStateTracker(java.util.logging.Level level,
java.lang.String groupName,
java.lang.String name,
java.lang.String type,
byte valueType,
java.lang.String unit,
java.lang.String desc,
oracle.dms.instrument.SegregationType sgType) |
void |
destroy()
destroy up the metrics value
|
protected java.lang.Object |
getClonedValue()
access DMS state tracker current value object.
|
void |
increment(double increasedAmount)
Add increasedAmount to the value of the state.
|
void |
increment(int increasedAmount)
Add increasedAmount to the value of the state.
|
void |
increment(long increasedAmount)
Add increasedAmount to the value of the state.
|
void |
reset()
Clean up the metrics value
|
void |
update(double newValue)
Update the value of the State.
|
void |
update(int newValue)
Update the value of the State.
|
void |
update(long newValue)
Update the value of the State.
|
void |
update(java.lang.Object newValue)
Update the value of the State.
|
createStateTracker, createStateTracker, createStateTrackerisActive, log, toStringpublic static StateTracker createDMSStateTracker(java.util.logging.Level level, java.lang.String groupName, java.lang.String name, java.lang.String type, byte valueType, java.lang.String unit, java.lang.String desc, oracle.dms.instrument.SegregationType sgType)
public void increment(double increasedAmount)
StateTrackerincrement in class StateTrackerincreasedAmount - the new value to add to the current value of the
State.public void increment(int increasedAmount)
StateTrackerincrement in class StateTrackerincreasedAmount - the new value to add to the current value of the
State.public void increment(long increasedAmount)
StateTrackerincrement in class StateTrackerincreasedAmount - the new value to add to the current value of the
State.public void update(double newValue)
StateTrackerupdate in class StateTrackernewValue - the new value for the State.public void update(int newValue)
StateTrackerupdate in class StateTrackernewValue - the new value for the State.public void update(long newValue)
StateTrackerupdate in class StateTrackernewValue - the new value for the State.public void update(java.lang.Object newValue)
StateTrackerupdate in class StateTrackernewValue - the new value for the State.public void reset()
ADFPerfSensorreset in class ADFPerfSensorpublic void destroy()
ADFPerfSensordestroy in class ADFPerfSensorprotected java.lang.Object getClonedValue()
StateTrackergetClonedValue in class StateTracker