GigaSpaces XAP 9.7.2 API

org.openspaces.admin.space
Interface SpaceInstanceStatistics


public interface SpaceInstanceStatistics

Returns SpaceInstance level statistics.

Author:
kimchy

Method Summary
 long getActiveConnectionCount()
           
 long getActiveTransactionCount()
           
 long getAdminTimestamp()
          Returns a timestamp that is in sync with where the admin API is running.
 long getChangeCount()
           
 double getChangePerSecond()
           
 long getCleanCount()
          Deprecated. 
 double getCleanPerSecond()
          Deprecated. 
 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.
 

Method Detail

isNA

boolean isNA()
Returns true if 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 -1 if 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
long getCleanCount()
Deprecated. 


getCleanPerSecond

@Deprecated
double 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()

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

List<SpaceInstanceStatistics> getTimelineFromTimestamp(long fromTimestamp)
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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.