public class DefaultSpaceStatistics extends Object implements SpaceStatistics
| Constructor and Description |
|---|
DefaultSpaceStatistics(SpaceInstanceStatistics[] stats,
SpaceStatistics previous,
int historySize) |
| Modifier and Type | Method and Description |
|---|---|
long |
getActiveConnectionCount() |
long |
getActiveTransactionCount() |
long |
getChangeCount() |
double |
getChangePerSecond() |
long |
getCleanCount() |
double |
getCleanPerSecond() |
long |
getExecuteCount() |
double |
getExecutePerSecond() |
long |
getNotifyAckCount() |
double |
getNotifyAckPerSecond() |
long |
getNotifyRegistrationCount() |
double |
getNotifyRegistrationPerSecond() |
long |
getNotifyTemplateCount() |
long |
getNotifyTriggerCount() |
double |
getNotifyTriggerPerSecond() |
long |
getObjectCount() |
SpaceStatistics |
getPrevious()
Returns the previous statistics,
null if not available. |
long |
getReadCount() |
double |
getReadPerSecond() |
long |
getRemoveCount()
Remove happens when an entry is removed due to lease expiration or lease cancel.
|
double |
getRemovePerSecond() |
int |
getSize()
Returns the number of
SpaceInstanceStatistics that are
being aggregated. |
long |
getTakeCount() |
double |
getTakePerSecond() |
List<SpaceStatistics> |
getTimelineFromTimestamp(long fromTimestamp)
Returns the timeline (from newest to oldest) history statistics, including this one.
|
long |
getTimestamp()
Returns the timestamp this space statistics were taken.
|
long |
getUpdateCount() |
double |
getUpdatePerSecond() |
long |
getWriteCount() |
double |
getWritePerSecond() |
boolean |
isNA()
Returns
true if the statistics are not available. |
void |
setPrevious(SpaceStatistics previous) |
public DefaultSpaceStatistics(SpaceInstanceStatistics[] stats, SpaceStatistics previous, int historySize)
public boolean isNA()
SpaceStatisticstrue if the statistics are not available.isNA in interface SpaceStatisticspublic SpaceStatistics getPrevious()
SpaceStatisticsnull if not available.getPrevious in interface SpaceStatisticspublic void setPrevious(SpaceStatistics previous)
public int getSize()
SpaceStatisticsSpaceInstanceStatistics that are
being aggregated.getSize in interface SpaceStatisticspublic long getTimestamp()
SpaceStatisticsgetTimestamp in interface SpaceStatisticspublic long getWriteCount()
getWriteCount in interface SpaceStatisticspublic double getWritePerSecond()
getWritePerSecond in interface SpaceStatisticspublic long getReadCount()
getReadCount in interface SpaceStatisticspublic double getReadPerSecond()
getReadPerSecond in interface SpaceStatisticspublic long getTakeCount()
getTakeCount in interface SpaceStatisticspublic double getTakePerSecond()
getTakePerSecond in interface SpaceStatisticspublic long getNotifyRegistrationCount()
getNotifyRegistrationCount in interface SpaceStatisticspublic double getNotifyRegistrationPerSecond()
getNotifyRegistrationPerSecond in interface SpaceStatisticspublic long getCleanCount()
getCleanCount in interface SpaceStatisticspublic double getCleanPerSecond()
getCleanPerSecond in interface SpaceStatisticspublic long getUpdateCount()
getUpdateCount in interface SpaceStatisticspublic double getUpdatePerSecond()
getUpdatePerSecond in interface SpaceStatisticspublic long getNotifyTriggerCount()
getNotifyTriggerCount in interface SpaceStatisticspublic double getNotifyTriggerPerSecond()
getNotifyTriggerPerSecond in interface SpaceStatisticspublic long getNotifyAckCount()
getNotifyAckCount in interface SpaceStatisticspublic double getNotifyAckPerSecond()
getNotifyAckPerSecond in interface SpaceStatisticspublic long getExecuteCount()
getExecuteCount in interface SpaceStatisticspublic double getExecutePerSecond()
getExecutePerSecond in interface SpaceStatisticspublic long getRemoveCount()
SpaceStatisticsgetRemoveCount in interface SpaceStatisticspublic double getRemovePerSecond()
getRemovePerSecond in interface SpaceStatisticspublic long getChangeCount()
getChangeCount in interface SpaceStatisticspublic double getChangePerSecond()
getChangePerSecond in interface SpaceStatisticspublic long getObjectCount()
getObjectCount in interface SpaceStatisticspublic long getNotifyTemplateCount()
getNotifyTemplateCount in interface SpaceStatisticspublic long getActiveConnectionCount()
getActiveConnectionCount in interface SpaceStatisticspublic long getActiveTransactionCount()
getActiveTransactionCount in interface SpaceStatisticspublic List<SpaceStatistics> getTimelineFromTimestamp(long fromTimestamp)
SpaceStatisticsgetTimelineFromTimestamp in interface SpaceStatisticsfromTimestamp - brings statistics starting from this timestamp ( not included )Copyright © GigaSpaces.