Package org.openspaces.admin.internal.pu
Interface ProcessingUnitStatistics
- All Known Subinterfaces:
InternalProcessingUnitStatistics
- All Known Implementing Classes:
DefaultProcessingUnitStatistics
public interface ProcessingUnitStatistics
Provides an aggregation of the @{link
ProcessingUnitInstanceStatistics service monitors- Since:
- 9.0.0
- Author:
- itaif
-
Method Summary
Modifier and TypeMethodDescriptionlong
-
Method Details
-
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.
-
getStatistics
Map<ProcessingUnitStatisticsId,Object> getStatistics()- Returns:
- the statistics value for a single instance or aggregation of the complete cluster. The value can be Double , Number, String or any other type (Object).
- See Also:
-
getPrevious
ProcessingUnitStatistics getPrevious()- Returns:
- the previous processing unit statistics
-