public class DefaultProcessingUnitInstanceServiceStatistics extends Object implements ProcessingUnitInstanceStatistics
Constructor and Description |
---|
DefaultProcessingUnitInstanceServiceStatistics(long timestamp,
Map<String,ServiceMonitors> serviceMonitorsById,
ProcessingUnitInstanceStatistics previous,
int historySize,
long timeDelta) |
Modifier and Type | Method and Description |
---|---|
void |
addMonitors(ServiceMonitors[] monitors) |
long |
getAdminTimestamp()
Returns a timestamp that is in sync with where the admin API is running.
|
Map<String,AsyncPollingEventContainerServiceMonitors> |
getAsyncPollingEventContainers()
Returns all the different async polling event containers monitors keyed by the service id.
|
Map<String,EventContainerServiceMonitors> |
getEventContainers()
Returns all the different event containers monitors keyed by the service id.
|
Map<String,ServiceMonitors> |
getMonitors()
Returns a map of the
ServiceMonitors per processing unit
service id (bean id or bean name). |
Map<String,NotifyEventContainerServiceMonitors> |
getNotifyEventContainers()
Returns all the different notify event containers monitors keyed by the service id.
|
Map<String,PollingEventContainerServiceMonitors> |
getPollingEventContainers()
Returns all the different polling event containers monitors keyed by the service id.
|
ProcessingUnitInstanceStatistics |
getPrevious()
Returns the previous statistics.
|
RemotingServiceMonitors |
getRemoting()
Returns the remoting service (if configured) monitors infomration.
|
List<ProcessingUnitInstanceStatistics> |
getTimelineFromTimestamp(long fromTimestamp)
Returns the timeline (from newest to oldest) history statistics, including this one.
|
long |
getTimestamp()
The timestamp the stats were taken at.
|
WebRequestsServiceMonitors |
getWebRequests()
Returns statistics of JEE requests.
|
Iterator<ServiceMonitors> |
iterator() |
void |
setPrevious(ProcessingUnitInstanceStatistics previous) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public DefaultProcessingUnitInstanceServiceStatistics(long timestamp, Map<String,ServiceMonitors> serviceMonitorsById, ProcessingUnitInstanceStatistics previous, int historySize, long timeDelta)
public long getTimestamp()
ProcessingUnitInstanceStatistics
getTimestamp
in interface ProcessingUnitInstanceStatistics
public long getAdminTimestamp()
ProcessingUnitInstanceStatistics
getAdminTimestamp
in interface ProcessingUnitInstanceStatistics
public Iterator<ServiceMonitors> iterator()
iterator
in interface Iterable<ServiceMonitors>
public Map<String,ServiceMonitors> getMonitors()
ProcessingUnitInstanceStatistics
ServiceMonitors
per processing unit
service id (bean id or bean name).getMonitors
in interface ProcessingUnitInstanceStatistics
public Map<String,EventContainerServiceMonitors> getEventContainers()
ProcessingUnitInstanceStatistics
getEventContainers
in interface ProcessingUnitInstanceStatistics
public Map<String,PollingEventContainerServiceMonitors> getPollingEventContainers()
ProcessingUnitInstanceStatistics
getPollingEventContainers
in interface ProcessingUnitInstanceStatistics
public Map<String,NotifyEventContainerServiceMonitors> getNotifyEventContainers()
ProcessingUnitInstanceStatistics
getNotifyEventContainers
in interface ProcessingUnitInstanceStatistics
public Map<String,AsyncPollingEventContainerServiceMonitors> getAsyncPollingEventContainers()
ProcessingUnitInstanceStatistics
getAsyncPollingEventContainers
in interface ProcessingUnitInstanceStatistics
public RemotingServiceMonitors getRemoting()
ProcessingUnitInstanceStatistics
getRemoting
in interface ProcessingUnitInstanceStatistics
public WebRequestsServiceMonitors getWebRequests()
ProcessingUnitInstanceStatistics
getWebRequests
in interface ProcessingUnitInstanceStatistics
public ProcessingUnitInstanceStatistics getPrevious()
ProcessingUnitInstanceStatistics
getPrevious
in interface ProcessingUnitInstanceStatistics
public void setPrevious(ProcessingUnitInstanceStatistics previous)
public void addMonitors(ServiceMonitors[] monitors)
public List<ProcessingUnitInstanceStatistics> getTimelineFromTimestamp(long fromTimestamp)
ProcessingUnitInstanceStatistics
getTimelineFromTimestamp
in interface ProcessingUnitInstanceStatistics
fromTimestamp
- brings statistics starting from this timestamp ( not included )Copyright © GigaSpaces.