|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatisticsAdmin
Provides a space statistics API.
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean isStatisticsAvailable() throws RemoteException
true
if space statistics is available
RemoteException
- if a communication error occursString[] getStatisticsStringArray() throws StatisticsNotAvailable, RemoteException
StatisticsNotAvailable
- when space statistics are not available
RemoteException
- if a communication error occursvoid setStatisticsSamplingRate(long rate) throws StatisticsNotAvailable, RemoteException
rate
- the rate to sample the space for statistics
StatisticsNotAvailable
- when space statistics are not available
RemoteException
- if a communication error occurslong getStatisticsSamplingRate() throws StatisticsNotAvailable, RemoteException
StatisticsNotAvailable
- when space statistics are not available
RemoteException
- 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 available
RemoteException
- 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 available
RemoteException
- 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 available
RemoteException
- if a communication error occurscom.j_spaces.core.filters.StatisticsHolder getHolder() throws RemoteException
RemoteException
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |