Modifier and Type | Method and Description |
---|---|
com.j_spaces.core.filters.StatisticsHolder |
getHolder() |
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 FilterOperationCodes
StatisticsNotAvailable
- when space statistics are not availableRemoteException
- if a communication error occursFilterOperationCodes
Map<Integer,StatisticsContext> getStatistics(Integer[] operationCodes) throws StatisticsNotAvailable, RemoteException
StatisticsContext
objects
for passed specific filter operation codes.operationCodes
- filter array of operation codes defined in FilterOperationCodes
StatisticsContext
StatisticsNotAvailable
- when space statistics are not availableRemoteException
- if a communication error occursMap<Integer,StatisticsContext> getStatistics() throws StatisticsNotAvailable, RemoteException
StatisticsContext
objects
for all filter operation codes.StatisticsContext
StatisticsNotAvailable
- when space statistics are not availableRemoteException
- if a communication error occurscom.j_spaces.core.filters.StatisticsHolder getHolder() throws RemoteException
RemoteException
Copyright © GigaSpaces.