GigaSpaces XAP 7.0 API

org.openspaces.admin.transport
Interface TransportStatistics


public interface TransportStatistics

A transport level statistics.

Author:
kimchy

Method Summary
 int getActiveThreadsCount()
          Returns the number of active threads currently processing a communication task.
 double getActiveThreadsPerc()
          Returns the percentage of active threads out of the maximum threads.
 long getCompletedTaskCount()
          Returns the number of communication level tasks that were completed.
 double getCompletedTaskPerSecond()
          Returns the number of completed communication level tasks per second.
 TransportDetails getDetails()
          Returns the transport details.
 TransportStatistics getPrevious()
          Returns the previous statistics sampled.
 long getPreviousTimestamp()
          Returns the previous statistics timestamp.
 int getQueueSize()
          Returns the number of currently waiting communication tasks to be executed.
 long getTimestamp()
          Returns the timestamp when the statistics were taken.
 boolean isNA()
          Return true if the statistics are unavailable.
 

Method Detail

isNA

boolean isNA()
Return true if the statistics are unavailable.


getTimestamp

long getTimestamp()
Returns the timestamp when the statistics were taken.


getPreviousTimestamp

long getPreviousTimestamp()
Returns the previous statistics timestamp. Returns -1 if this is the first one.


getDetails

TransportDetails getDetails()
Returns the transport details.


getPrevious

TransportStatistics getPrevious()
Returns the previous statistics sampled. Returns null if this is the first one.


getCompletedTaskCount

long getCompletedTaskCount()
Returns the number of communication level tasks that were completed.


getCompletedTaskPerSecond

double getCompletedTaskPerSecond()
Returns the number of completed communication level tasks per second.


getActiveThreadsCount

int getActiveThreadsCount()
Returns the number of active threads currently processing a communication task.


getActiveThreadsPerc

double getActiveThreadsPerc()
Returns the percentage of active threads out of the maximum threads.


getQueueSize

int getQueueSize()
Returns the number of currently waiting communication tasks to be executed.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.