Package org.openspaces.admin.transport
Interface TransportsStatistics
- All Known Implementing Classes:
DefaultTransportsStatistics
public interface TransportsStatistics
An aggregated view of
TransportStatistics.- Author:
- kimchy
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the summation of all transportTransportStatistics.getActiveThreadsCount().doubleReturns the summation of all transportTransportStatistics.getActiveThreadsPerc().longReturns the summation of all transportTransportStatistics.getCompletedTaskCount()()}.doubleReturns the summation of all transportTransportStatistics.getCompletedTaskPerSecond().Returns the aggregated transports details.Returns the previous statistics.longReturns the previous statistics timestamp.intReturns the summation of all transportTransportStatistics.getQueueSize().intgetSize()Returns the number ofTransportStatisticsthat are aggregated.longReturns the timestamp when this statistics was sampled.booleanisNA()Returnstrueif the statistics are currently not available.
-
Method Details
-
isNA
boolean isNA()Returnstrueif the statistics are currently not available. -
getSize
int getSize()Returns the number ofTransportStatisticsthat are aggregated. -
getTimestamp
long getTimestamp()Returns the timestamp when this statistics was sampled. -
getPreviousTimestamp
long getPreviousTimestamp()Returns the previous statistics timestamp. Returns-1if this is the first one. -
getPrevious
TransportsStatistics getPrevious()Returns the previous statistics. Returnsnullif this is the first one. -
getDetails
TransportsDetails getDetails()Returns the aggregated transports details. -
getCompletedTaskCount
long getCompletedTaskCount()Returns the summation of all transportTransportStatistics.getCompletedTaskCount()()}. -
getCompletedTaskPerSecond
double getCompletedTaskPerSecond()Returns the summation of all transportTransportStatistics.getCompletedTaskPerSecond(). -
getActiveThreadsCount
int getActiveThreadsCount()Returns the summation of all transportTransportStatistics.getActiveThreadsCount(). -
getActiveThreadsPerc
double getActiveThreadsPerc()Returns the summation of all transportTransportStatistics.getActiveThreadsPerc(). -
getQueueSize
int getQueueSize()Returns the summation of all transportTransportStatistics.getQueueSize().
-