Class DefaultSpaceStatistics
java.lang.Object
org.openspaces.admin.internal.space.DefaultSpaceStatistics
- All Implemented Interfaces:
SpaceStatistics
- Author:
- kimchy
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSpaceStatistics(SpaceInstanceStatistics[] stats, SpaceStatistics previous, int historySize) -
Method Summary
Modifier and TypeMethodDescriptionlonglonglongdoublelongdoublelongdoublelongdoublelongdoublelonglongdoublelongReturns the previous statistics,nullif not available.longdoublelongRemove happens when an entry is removed due to lease expiration or lease cancel.doubleintgetSize()Returns the number ofSpaceInstanceStatisticsthat are being aggregated.longdoublegetTimelineFromTimestamp(long fromTimestamp) Returns the timeline (from newest to oldest) history statistics, including this one.longReturns the timestamp this space statistics were taken.longdoublelongdoublebooleanisNA()Returnstrueif the statistics are not available.voidsetPrevious(SpaceStatistics previous)
-
Constructor Details
-
DefaultSpaceStatistics
public DefaultSpaceStatistics(SpaceInstanceStatistics[] stats, SpaceStatistics previous, int historySize)
-
-
Method Details
-
isNA
public boolean isNA()Description copied from interface:SpaceStatisticsReturnstrueif the statistics are not available.- Specified by:
isNAin interfaceSpaceStatistics
-
getPrevious
Description copied from interface:SpaceStatisticsReturns the previous statistics,nullif not available.- Specified by:
getPreviousin interfaceSpaceStatistics
-
setPrevious
-
getSize
public int getSize()Description copied from interface:SpaceStatisticsReturns the number ofSpaceInstanceStatisticsthat are being aggregated.- Specified by:
getSizein interfaceSpaceStatistics
-
getTimestamp
public long getTimestamp()Description copied from interface:SpaceStatisticsReturns the timestamp this space statistics were taken.- Specified by:
getTimestampin interfaceSpaceStatistics
-
getWriteCount
public long getWriteCount()- Specified by:
getWriteCountin interfaceSpaceStatistics
-
getWritePerSecond
public double getWritePerSecond()- Specified by:
getWritePerSecondin interfaceSpaceStatistics
-
getReadCount
public long getReadCount()- Specified by:
getReadCountin interfaceSpaceStatistics
-
getReadPerSecond
public double getReadPerSecond()- Specified by:
getReadPerSecondin interfaceSpaceStatistics
-
getTakeCount
public long getTakeCount()- Specified by:
getTakeCountin interfaceSpaceStatistics
-
getTakePerSecond
public double getTakePerSecond()- Specified by:
getTakePerSecondin interfaceSpaceStatistics
-
getNotifyRegistrationCount
public long getNotifyRegistrationCount()- Specified by:
getNotifyRegistrationCountin interfaceSpaceStatistics
-
getNotifyRegistrationPerSecond
public double getNotifyRegistrationPerSecond()- Specified by:
getNotifyRegistrationPerSecondin interfaceSpaceStatistics
-
getCleanCount
public long getCleanCount()- Specified by:
getCleanCountin interfaceSpaceStatistics
-
getCleanPerSecond
public double getCleanPerSecond()- Specified by:
getCleanPerSecondin interfaceSpaceStatistics
-
getUpdateCount
public long getUpdateCount()- Specified by:
getUpdateCountin interfaceSpaceStatistics
-
getUpdatePerSecond
public double getUpdatePerSecond()- Specified by:
getUpdatePerSecondin interfaceSpaceStatistics
-
getNotifyTriggerCount
public long getNotifyTriggerCount()- Specified by:
getNotifyTriggerCountin interfaceSpaceStatistics
-
getNotifyTriggerPerSecond
public double getNotifyTriggerPerSecond()- Specified by:
getNotifyTriggerPerSecondin interfaceSpaceStatistics
-
getNotifyAckCount
public long getNotifyAckCount()- Specified by:
getNotifyAckCountin interfaceSpaceStatistics
-
getNotifyAckPerSecond
public double getNotifyAckPerSecond()- Specified by:
getNotifyAckPerSecondin interfaceSpaceStatistics
-
getExecuteCount
public long getExecuteCount()- Specified by:
getExecuteCountin interfaceSpaceStatistics
-
getExecutePerSecond
public double getExecutePerSecond()- Specified by:
getExecutePerSecondin interfaceSpaceStatistics
-
getRemoveCount
public long getRemoveCount()Description copied from interface:SpaceStatisticsRemove happens when an entry is removed due to lease expiration or lease cancel.- Specified by:
getRemoveCountin interfaceSpaceStatistics
-
getRemovePerSecond
public double getRemovePerSecond()- Specified by:
getRemovePerSecondin interfaceSpaceStatistics
-
getChangeCount
public long getChangeCount()- Specified by:
getChangeCountin interfaceSpaceStatistics
-
getChangePerSecond
public double getChangePerSecond()- Specified by:
getChangePerSecondin interfaceSpaceStatistics
-
getObjectCount
public long getObjectCount()- Specified by:
getObjectCountin interfaceSpaceStatistics- Returns:
- count of all the objects in this Space instance.
-
getNotifyTemplateCount
public long getNotifyTemplateCount()- Specified by:
getNotifyTemplateCountin interfaceSpaceStatistics- Returns:
- count of all the notify templates this Space instance.
-
getActiveConnectionCount
public long getActiveConnectionCount()- Specified by:
getActiveConnectionCountin interfaceSpaceStatistics- Returns:
- count of all the active connections to this Space instance.
-
getActiveTransactionCount
public long getActiveTransactionCount()- Specified by:
getActiveTransactionCountin interfaceSpaceStatistics- Returns:
- count of all the active transactions (of all types) in this Space instance.
-
getTimelineFromTimestamp
Description copied from interface:SpaceStatisticsReturns the timeline (from newest to oldest) history statistics, including this one.- Specified by:
getTimelineFromTimestampin interfaceSpaceStatistics- Parameters:
fromTimestamp- brings statistics starting from this timestamp ( not included )
-