public interface StatisticsAdmin extends Remote
| Modifier and Type | Method and Description |
|---|---|
StatisticsHolder |
getHolder() |
Map<String,Object> |
getMetricSnapshots(Collection<String> prefixes) |
Map<Integer,StatisticsContext> |
getStatistics()
Returns statistics repository that contains a map of operation codes to
StatisticsContext objects for all filter
operation codes. |
StatisticsContext |
getStatistics(int operationCode)
Returns a
StatisticsContext for specific
filter operation code. |
Map<Integer,StatisticsContext> |
getStatistics(Integer[] operationCodes)
Returns statistics repository that contains a map of operation codes to
StatisticsContext objects for passed specific
filter operation codes. |
long |
getStatisticsSamplingRate()
Checks statistics sampling rate.
|
String[] |
getStatisticsStringArray()
Returns a string array contains statistics values for each operation.
|
boolean |
isStatisticsAvailable()
Checks if space statistics is available.
|
void |
setStatisticsSamplingRate(long rate)
Set statistics sampling rate.
|
boolean isStatisticsAvailable()
throws RemoteException
true if space statistics is availableRemoteException - if a communication error occursString[] getStatisticsStringArray() throws StatisticsNotAvailable, RemoteException
StatisticsNotAvailable - when space statistics are not availableRemoteException - if a communication error occursvoid setStatisticsSamplingRate(long rate)
throws StatisticsNotAvailable,
RemoteException
rate - the rate to sample the space for statisticsStatisticsNotAvailable - when space statistics are not availableRemoteException - if a communication error occurslong getStatisticsSamplingRate()
throws StatisticsNotAvailable,
RemoteException
StatisticsNotAvailable - when space statistics are not availableRemoteException - if a communication error occursStatisticsContext getStatistics(int operationCode) throws StatisticsNotAvailable, RemoteException
StatisticsContext for specific
filter operation code.operationCode - filter operation code defined in FilterOperationCodesStatisticsNotAvailable - when space statistics are not availableRemoteException - if a communication error occursFilterOperationCodesMap<Integer,StatisticsContext> getStatistics(Integer[] operationCodes) throws StatisticsNotAvailable, RemoteException
StatisticsContext objects for passed specific
filter operation codes.operationCodes - filter array of operation codes defined in FilterOperationCodesStatisticsContextStatisticsNotAvailable - when space statistics are not availableRemoteException - if a communication error occursMap<Integer,StatisticsContext> getStatistics() throws StatisticsNotAvailable, RemoteException
StatisticsContext objects for all filter
operation codes.StatisticsContextStatisticsNotAvailable - when space statistics are not availableRemoteException - if a communication error occursStatisticsHolder getHolder() throws RemoteException
RemoteExceptionMap<String,Object> getMetricSnapshots(Collection<String> prefixes) throws RemoteException
prefixes - collection of metrics prefixesRemoteExceptionCopyright © GigaSpaces.