Package org.openspaces.admin.pu
Interface ProcessingUnitInstanceStatistics
- All Superinterfaces:
Iterable<ServiceMonitors>
- All Known Implementing Classes:
DefaultProcessingUnitInstanceServiceStatistics
Processing Unit Instance statistics provide statistics on services configured within the
processing unit. It uses the
ServiceMonitors which each bean
within a processing unit can provide.- Author:
- kimchy
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns a timestamp that is in sync with where the admin API is running.Returns all the different async polling event containers monitors keyed by the service id.Returns all the different event containers monitors keyed by the service id.Returns a map of theServiceMonitorsper processing unit service id (bean id or bean name).Returns all the different notify event containers monitors keyed by the service id.Returns all the different polling event containers monitors keyed by the service id.Returns the previous statistics.Returns the remoting service (if configured) monitors infomration.getTimelineFromTimestamp(long fromTimestamp) Returns the timeline (from newest to oldest) history statistics, including this one.longThe timestamp the stats were taken at.Returns statistics of JEE requests.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getTimestamp
long getTimestamp()The timestamp the stats were taken at. -
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. -
getMonitors
Map<String,ServiceMonitors> getMonitors()Returns a map of theServiceMonitorsper processing unit service id (bean id or bean name). -
getEventContainers
Map<String,EventContainerServiceMonitors> getEventContainers()Returns all the different event containers monitors keyed by the service id. -
getPollingEventContainers
Map<String,PollingEventContainerServiceMonitors> getPollingEventContainers()Returns all the different polling event containers monitors keyed by the service id. -
getNotifyEventContainers
Map<String,NotifyEventContainerServiceMonitors> getNotifyEventContainers()Returns all the different notify event containers monitors keyed by the service id. -
getAsyncPollingEventContainers
Map<String,AsyncPollingEventContainerServiceMonitors> getAsyncPollingEventContainers()Returns all the different async polling event containers monitors keyed by the service id. -
getRemoting
RemotingServiceMonitors getRemoting()Returns the remoting service (if configured) monitors infomration. -
getWebRequests
WebRequestsServiceMonitors getWebRequests()Returns statistics of JEE requests. -
getPrevious
ProcessingUnitInstanceStatistics getPrevious()Returns the previous statistics. -
getTimelineFromTimestamp
Returns the timeline (from newest to oldest) history statistics, including this one.- Parameters:
fromTimestamp- brings statistics starting from this timestamp ( not included )- Since:
- 9.6
-