Interface ProcessingUnitInstanceStatistics

All Superinterfaces:
Iterable<ServiceMonitors>
All Known Implementing Classes:
DefaultProcessingUnitInstanceServiceStatistics

public interface ProcessingUnitInstanceStatistics extends Iterable<ServiceMonitors>
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 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 the ServiceMonitors per processing unit service id (bean id or bean name).
    • 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

      Returns the remoting service (if configured) monitors infomration.
    • getWebRequests

      WebRequestsServiceMonitors getWebRequests()
      Returns statistics of JEE requests.
    • getPrevious

      Returns the previous statistics.
    • getTimelineFromTimestamp

      List<ProcessingUnitInstanceStatistics> getTimelineFromTimestamp(long fromTimestamp)
      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