|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.management.performance.PerformanceCounter
public class PerformanceCounter
PerformanceCounter base class.
| Constructor Summary | |
|---|---|
PerformanceCounter(PerformanceCounterFormula formula)
Constructs PerformanceCounter object. |
|
| Method Summary | |
|---|---|
void |
decrement()
Decrement the counter by one. |
void |
decrementBy(long value)
Decrement by. |
PerformanceSample |
getNextPerformanceSample()
Gets the next performance sample. |
double |
getNextSampleValue()
Sample and gets the next value. |
double |
getNextValue()
Gets the next value. |
void |
increment()
Increment the counter by one. |
void |
incrementBy(long value)
Increment by. |
void |
reset()
Reset the counter. |
void |
setRawValue(long rawValue)
Sets the raw value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerformanceCounter(PerformanceCounterFormula formula)
formula - counter value calculation formula| Method Detail |
|---|
public void incrementBy(long value)
value - value to increment counter bypublic void decrementBy(long value)
value - value to decrement counter bypublic double getNextValue()
public double getNextSampleValue()
public PerformanceSample getNextPerformanceSample()
public void reset()
public void setRawValue(long rawValue)
rawValue - set the new raw value for the counterpublic void increment()
public void decrement()
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||