GigaSpaces XAP 9.7.2 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 getAdminTimestamp()
          Returns a timestamp that is in sync with where the admin API is running.
 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.


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. 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 9.7.2 API

Copyright © GigaSpaces.