|
GigaSpaces XAP 9.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.core.filters.StatisticsContext
public class StatisticsContext
Representation of an operation statistics object.
StatisticsAdmin
,
Serialized FormConstructor 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 |
---|
clone, equals, finalize, 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void setCurrentCount(AtomicLong currentCount)
currentCount
-
|
GigaSpaces XAP 9.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |