|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.j_spaces.core.filters.StatisticsContext
public class StatisticsContext
Representation of an operation statistics object.
StatisticsAdmin,
Serialized Form| Constructor Summary | |
|---|---|
StatisticsContext()
Empty constructor. |
|
| Method Summary | |
|---|---|
double |
getAverage()
The average calculated on the last time according to the statistics sampling rate. |
long |
getCurrentCount()
Current count of operations. |
void |
readExternal(ObjectInput in)
|
void |
setCurrentCount(AtomicLong currentCount)
set current count |
String |
toString()
String representation of the statistics. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticsContext()
| Method Detail |
|---|
public double getAverage()
StatisticsAdmin.getStatisticsSamplingRate()public long getCurrentCount()
public String toString()
toString in class Object
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundExceptionpublic void setCurrentCount(AtomicLong currentCount)
currentCount -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||