Package org.openspaces.admin.space
Interface SpaceInstanceStatistics
- All Known Implementing Classes:
DefaultSpaceInstanceStatistics
public interface SpaceInstanceStatistics
Returns
SpaceInstance level statistics.- Author:
- kimchy
-
Method Summary
Modifier and TypeMethodDescriptionlonglonglongReturns a timestamp that is in sync with where the admin API is running.longdoublelongDeprecated.doubleDeprecated.longdoubleintGets the current number of pending notifications that needs to be sent to different clients.longdoublelongdoublelonglongdoublelongReturns the previous statistics.longReturns the previous statistics timestamp, or-1if not available.intGets the current number of pending tasks in the space processor queue.longdoublelongRemove happens when an entry is removed due to lease expiration or lease cancel.doublelongdoublegetTimelineFromTimestamp(long fromTimestamp) Returns the timeline (from newest to oldest) history statistics, including this one.longReturns the timestamp the statistics were taken at.longdoublelongdoublebooleanisNA()Returnstrueif this statistics are not available.
-
Method Details
-
isNA
boolean isNA()Returnstrueif this statistics are not available. -
getTimestamp
long getTimestamp()Returns the timestamp the statistics were taken at. -
getAdminTimestamp
long getAdminTimestamp()Returns a timestamp that is in sync with where the admin API is running. Can return -1 if the clocks have are not sync yet. -
getPreviousTimestamp
long getPreviousTimestamp()Returns the previous statistics timestamp, or-1if not available. -
getPrevious
SpaceInstanceStatistics getPrevious()Returns the previous statistics. -
getWriteCount
long getWriteCount() -
getWritePerSecond
double getWritePerSecond() -
getReadCount
long getReadCount() -
getReadPerSecond
double getReadPerSecond() -
getTakeCount
long getTakeCount() -
getTakePerSecond
double getTakePerSecond() -
getNotifyRegistrationCount
long getNotifyRegistrationCount() -
getNotifyRegistrationPerSecond
double getNotifyRegistrationPerSecond() -
getCleanCount
Deprecated. -
getCleanPerSecond
Deprecated. -
getUpdateCount
long getUpdateCount() -
getUpdatePerSecond
double getUpdatePerSecond() -
getNotifyTriggerCount
long getNotifyTriggerCount() -
getNotifyTriggerPerSecond
double getNotifyTriggerPerSecond() -
getNotifyAckCount
long getNotifyAckCount() -
getNotifyAckPerSecond
double getNotifyAckPerSecond() -
getExecuteCount
long getExecuteCount() -
getExecutePerSecond
double getExecutePerSecond() -
getChangeCount
long getChangeCount()- Since:
- 9.5
-
getChangePerSecond
double getChangePerSecond()- Since:
- 9.5
-
getRemoveCount
long getRemoveCount()Remove happens when an entry is removed due to lease expiration or lease cancel. -
getRemovePerSecond
double getRemovePerSecond() -
getReplicationStatistics
ReplicationStatistics getReplicationStatistics() -
getMirrorStatistics
MirrorStatistics getMirrorStatistics() -
getBlobStoreStatistics
BlobStoreStatistics getBlobStoreStatistics() -
getProcessorQueueSize
int getProcessorQueueSize()Gets the current number of pending tasks in the space processor queue.- Since:
- 8.0
-
getNotifierQueueSize
int getNotifierQueueSize()Gets the current number of pending notifications that needs to be sent to different clients.- Since:
- 8.0
-
getObjectCount
long getObjectCount()- Returns:
- count of all the objects in this Space instance.
- Since:
- 9.1.0
-
getNotifyTemplateCount
long getNotifyTemplateCount()- Returns:
- count of all the notify templates this Space instance.
- Since:
- 9.1.0
-
getActiveConnectionCount
long getActiveConnectionCount()- Returns:
- count of all the active connections to this Space instance.
- Since:
- 9.1.0
-
getActiveTransactionCount
long getActiveTransactionCount()- Returns:
- count of all the active transactions (of all types) in this Space instance.
- Since:
- 9.1.0
-
getTimelineFromTimestamp
Returns the timeline (from newest to oldest) history statistics, including this one.- Parameters:
fromTimestamp- brings statistics starting from this timestamp ( not included )- Since:
- 9.6
-