public class StatisticsContext extends Object implements Externalizable
StatisticsAdmin,
Serialized Form| Constructor and Description |
|---|
StatisticsContext()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(long value)
For internal usage only
|
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) |
String |
toString()
String representation of the statistics.
|
void |
writeExternal(ObjectOutput out) |
public double getAverage()
StatisticsAdmin.getStatisticsSamplingRate()public long getCurrentCount()
public void add(long value)
public String toString()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.