public class DefaultSpaceInstanceStatistics extends Object implements SpaceInstanceStatistics
| Constructor and Description |
|---|
DefaultSpaceInstanceStatistics() |
DefaultSpaceInstanceStatistics(StatisticsHolder statisticsHolder,
SpaceInstanceStatistics previousStats,
int historySize,
long timeDelta) |
| Modifier and Type | Method and Description |
|---|---|
long |
getActiveConnectionCount() |
long |
getActiveTransactionCount() |
long |
getAdminTimestamp()
Returns a timestamp that is in sync with where the admin API is running.
|
BlobStoreStatistics |
getBlobStoreStatistics() |
long |
getChangeCount() |
double |
getChangePerSecond() |
long |
getCleanCount() |
double |
getCleanPerSecond() |
long |
getExecuteCount() |
double |
getExecutePerSecond() |
MirrorStatistics |
getMirrorStatistics() |
int |
getNotifierQueueSize()
Gets the current number of pending notifications that needs to be sent to different clients.
|
long |
getNotifyAckCount() |
double |
getNotifyAckPerSecond() |
long |
getNotifyRegistrationCount() |
double |
getNotifyRegistrationPerSecond() |
long |
getNotifyTemplateCount() |
long |
getNotifyTriggerCount() |
double |
getNotifyTriggerPerSecond() |
long |
getObjectCount() |
SpaceInstanceStatistics |
getPrevious()
Returns the previous statistics.
|
long |
getPreviousTimestamp()
Returns the previous statistics timestamp, or
-1 if not available. |
int |
getProcessorQueueSize()
Gets the current number of pending tasks in the space processor queue.
|
long |
getReadCount() |
double |
getReadPerSecond() |
long |
getRemoveCount()
Remove happens when an entry is removed due to lease expiration or lease cancel.
|
double |
getRemovePerSecond() |
ReplicationStatistics |
getReplicationStatistics() |
long |
getTakeCount() |
double |
getTakePerSecond() |
List<SpaceInstanceStatistics> |
getTimelineFromTimestamp(long fromTimestamp)
Returns the timeline (from newest to oldest) history statistics, including this one.
|
long |
getTimestamp()
Returns the timestamp the statistics were taken at.
|
long |
getUpdateCount() |
double |
getUpdatePerSecond() |
long |
getWriteCount() |
double |
getWritePerSecond() |
boolean |
isNA()
Returns
true if this statistics are not available. |
void |
setPreviousStats(SpaceInstanceStatistics previousStats) |
public DefaultSpaceInstanceStatistics()
public DefaultSpaceInstanceStatistics(StatisticsHolder statisticsHolder, SpaceInstanceStatistics previousStats, int historySize, long timeDelta)
public boolean isNA()
SpaceInstanceStatisticstrue if this statistics are not available.isNA in interface SpaceInstanceStatisticspublic long getTimestamp()
SpaceInstanceStatisticsgetTimestamp in interface SpaceInstanceStatisticspublic long getAdminTimestamp()
SpaceInstanceStatisticsgetAdminTimestamp in interface SpaceInstanceStatisticspublic long getPreviousTimestamp()
SpaceInstanceStatistics-1 if not available.getPreviousTimestamp in interface SpaceInstanceStatisticspublic SpaceInstanceStatistics getPrevious()
SpaceInstanceStatisticsgetPrevious in interface SpaceInstanceStatisticspublic void setPreviousStats(SpaceInstanceStatistics previousStats)
public long getWriteCount()
getWriteCount in interface SpaceInstanceStatisticspublic double getWritePerSecond()
getWritePerSecond in interface SpaceInstanceStatisticspublic long getReadCount()
getReadCount in interface SpaceInstanceStatisticspublic double getReadPerSecond()
getReadPerSecond in interface SpaceInstanceStatisticspublic long getTakeCount()
getTakeCount in interface SpaceInstanceStatisticspublic double getTakePerSecond()
getTakePerSecond in interface SpaceInstanceStatisticspublic long getNotifyRegistrationCount()
getNotifyRegistrationCount in interface SpaceInstanceStatisticspublic double getNotifyRegistrationPerSecond()
getNotifyRegistrationPerSecond in interface SpaceInstanceStatisticspublic long getCleanCount()
getCleanCount in interface SpaceInstanceStatisticspublic double getCleanPerSecond()
getCleanPerSecond in interface SpaceInstanceStatisticspublic long getUpdateCount()
getUpdateCount in interface SpaceInstanceStatisticspublic double getUpdatePerSecond()
getUpdatePerSecond in interface SpaceInstanceStatisticspublic long getNotifyTriggerCount()
getNotifyTriggerCount in interface SpaceInstanceStatisticspublic double getNotifyTriggerPerSecond()
getNotifyTriggerPerSecond in interface SpaceInstanceStatisticspublic long getNotifyAckCount()
getNotifyAckCount in interface SpaceInstanceStatisticspublic double getNotifyAckPerSecond()
getNotifyAckPerSecond in interface SpaceInstanceStatisticspublic long getExecuteCount()
getExecuteCount in interface SpaceInstanceStatisticspublic double getExecutePerSecond()
getExecutePerSecond in interface SpaceInstanceStatisticspublic long getRemoveCount()
getRemoveCount in interface SpaceInstanceStatisticspublic double getRemovePerSecond()
getRemovePerSecond in interface SpaceInstanceStatisticspublic long getChangeCount()
getChangeCount in interface SpaceInstanceStatisticspublic double getChangePerSecond()
getChangePerSecond in interface SpaceInstanceStatisticspublic ReplicationStatistics getReplicationStatistics()
getReplicationStatistics in interface SpaceInstanceStatisticspublic MirrorStatistics getMirrorStatistics()
getMirrorStatistics in interface SpaceInstanceStatisticspublic BlobStoreStatistics getBlobStoreStatistics()
getBlobStoreStatistics in interface SpaceInstanceStatisticspublic int getProcessorQueueSize()
SpaceInstanceStatisticsgetProcessorQueueSize in interface SpaceInstanceStatisticspublic int getNotifierQueueSize()
SpaceInstanceStatisticsgetNotifierQueueSize in interface SpaceInstanceStatisticspublic long getObjectCount()
getObjectCount in interface SpaceInstanceStatisticspublic long getNotifyTemplateCount()
getNotifyTemplateCount in interface SpaceInstanceStatisticspublic long getActiveConnectionCount()
getActiveConnectionCount in interface SpaceInstanceStatisticspublic long getActiveTransactionCount()
getActiveTransactionCount in interface SpaceInstanceStatisticspublic List<SpaceInstanceStatistics> getTimelineFromTimestamp(long fromTimestamp)
SpaceInstanceStatisticsgetTimelineFromTimestamp in interface SpaceInstanceStatisticsfromTimestamp - brings statistics starting from this timestamp ( not included )Copyright © GigaSpaces.