|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.common.pooling.impl.BasicPoolStatistic
public abstract class BasicPoolStatistic
Field Summary | |
---|---|
static long |
serialVersionUID
|
static int |
TYPE_AVG
|
static int |
TYPE_HIGHEST
|
static int |
TYPE_LOWEST
|
static int |
TYPE_SUM
|
Fields inherited from interface com.metamatrix.common.pooling.api.PoolStatistic |
---|
AVG_AGGREGATE_TYPE, COMMON_AGGREGATE_TYPE, LEAST_RESENT_AGGREGATE_TYPE, MAX_AGGREGATE_TYPE, MIN_AGGREGATE_TYPE, MOST_RESENT_AGGREGATE_TYPE, NO_AGGREGATE_TYPE, SUM_AGGREGATE_TYPE |
Constructor Summary | |
---|---|
protected |
BasicPoolStatistic(java.lang.String statName,
java.lang.String displayName,
java.lang.String description,
int aggregateType)
|
Method Summary | |
---|---|
void |
decrement()
Decrement the statistic |
void |
decrement(long value)
|
int |
getAggregationType()
Returns the aggregate type code that indicates how the statistic value can be used with other statistics |
java.lang.String |
getDescription()
Returns the description of the statistic |
java.lang.String |
getDisplayName()
Returns the display name of the statistic |
java.lang.String |
getName()
Returns the name of the statistic |
long |
getStartDateTime()
Returns a long value repsenting when this statisic begain gathering information. |
void |
increment()
Increment the statistic |
void |
increment(long value)
|
protected void |
performReset()
|
abstract void |
reset()
Called to reset the statistic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.metamatrix.common.pooling.api.PoolStatistic |
---|
getValue |
Field Detail |
---|
public static final long serialVersionUID
public static final int TYPE_SUM
public static final int TYPE_AVG
public static final int TYPE_HIGHEST
public static final int TYPE_LOWEST
Constructor Detail |
---|
protected BasicPoolStatistic(java.lang.String statName, java.lang.String displayName, java.lang.String description, int aggregateType)
Method Detail |
---|
public java.lang.String getDisplayName()
PoolStatistic
getDisplayName
in interface PoolStatistic
public java.lang.String getDescription()
getDescription
in interface PoolStatistic
public java.lang.String getName()
getName
in interface PoolStatistic
public int getAggregationType()
getAggregationType
in interface PoolStatistic
public long getStartDateTime()
PoolStatistic
getStartDateTime
in interface PoolStatistic
protected void performReset()
public void increment()
public void decrement()
public void increment(long value)
public void decrement(long value)
public abstract void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |