public void eventReceived(ISelfletEvent event) { if (!(event instanceof IServiceEvent)) { return; } IServiceEvent serviceEvent = (IServiceEvent) event; serviceRateMonitor.sendEvent(serviceEvent); if (serviceEvent.isLocalExecutedService() && (event instanceof ILocalExecutedServiceEvent)) { ILocalExecutedServiceEvent localExecutedEvent = (ILocalExecutedServiceEvent) event; executionMonitor.sendEvent(localExecutedEvent); } }
public List<ServiceRate> getThroughput() { return serviceRateMonitor.getThroughput(); }
public List<ServiceRate> getRequestRates() { return serviceRateMonitor.getRequestRates(); }