Interface SpaceInstanceStatistics

All Known Implementing Classes:
DefaultSpaceInstanceStatistics

public interface SpaceInstanceStatistics
Returns SpaceInstance level statistics.
Author:
kimchy
  • Method Details

    • 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

      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()
    • 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

      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