Project JXTA

net.jxta.impl.endpoint.endpointMeter
Class EndpointServiceMonitor

java.lang.Object
  extended by net.jxta.impl.meter.GenericServiceMonitor
      extended by net.jxta.impl.endpoint.endpointMeter.EndpointServiceMonitor
All Implemented Interfaces:
ServiceMonitorImpl, ServiceMonitor, Module

public class EndpointServiceMonitor
extends GenericServiceMonitor

Standard EndpointService Monitor


Field Summary
 
Fields inherited from class net.jxta.impl.meter.GenericServiceMonitor
cumulativeServiceMetric, deltaServiceMetrics, implAdvertisement, monitorManager, reportRate, reportRateIndex
 
Fields inherited from interface net.jxta.platform.Module
START_AGAIN_PROGRESS, START_AGAIN_STALLED, START_OK
 
Constructor Summary
EndpointServiceMonitor()
           
 
Method Summary
protected  ServiceMetric collectServiceMetrics()
          Get the service metrics accrued since the last pulse Return null if there were no metrices since the last call
 ServiceMetric getCumulativeServiceMetric(ServiceMonitorFilter serviceMonitorFilter, long fromTime, long toTime)
           
 EndpointMeter getEndpointMeter()
           
 InboundMeter getInboundMeter(String serviceName, String serviceParam)
           
 OutboundMeter getOutboundMeter(EndpointAddress endpointAddress)
           
 PropagationMeter getPropagationMeter(String serviceName, String serviceParam)
           
 ServiceMetric getServiceMetric(ServiceMonitorFilter serviceMonitorFilter, long fromTime, long toTime, int pulseIndex, long reportRate)
           
protected  void init()
           
 
Methods inherited from class net.jxta.impl.meter.GenericServiceMonitor
beginCumulativeReport, beginPulse, createServiceMetric, createSupportedCumulativeServiceMonitorFilter, createSupportedServiceMonitorFilter, destroy, endCumulativeReport, endPulse, getCumulativeServiceMetric, getModuleClassID, getPeerGroup, init, init, resetPulseRate, serviceMonitorFilterDeregistered, serviceMonitorFilterRegistered, startApp, stopApp, validateCumulativeServiceMonitorFilter, validateServiceMonitorFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointServiceMonitor

public EndpointServiceMonitor()
Method Detail

init

protected void init()
Overrides:
init in class GenericServiceMonitor

getEndpointMeter

public EndpointMeter getEndpointMeter()

getInboundMeter

public InboundMeter getInboundMeter(String serviceName,
                                    String serviceParam)

getPropagationMeter

public PropagationMeter getPropagationMeter(String serviceName,
                                            String serviceParam)

getOutboundMeter

public OutboundMeter getOutboundMeter(EndpointAddress endpointAddress)

getServiceMetric

public ServiceMetric getServiceMetric(ServiceMonitorFilter serviceMonitorFilter,
                                      long fromTime,
                                      long toTime,
                                      int pulseIndex,
                                      long reportRate)
Specified by:
getServiceMetric in interface ServiceMonitor
Overrides:
getServiceMetric in class GenericServiceMonitor

getCumulativeServiceMetric

public ServiceMetric getCumulativeServiceMetric(ServiceMonitorFilter serviceMonitorFilter,
                                                long fromTime,
                                                long toTime)
Specified by:
getCumulativeServiceMetric in interface ServiceMonitor
Overrides:
getCumulativeServiceMetric in class GenericServiceMonitor

collectServiceMetrics

protected ServiceMetric collectServiceMetrics()
Description copied from class: GenericServiceMonitor
Get the service metrics accrued since the last pulse Return null if there were no metrices since the last call

Specified by:
collectServiceMetrics in class GenericServiceMonitor

JXTA J2SE