Project JXTA

net.jxta.impl.rendezvous.rendezvousMeter
Class RendezvousServiceMonitor

java.lang.Object
  extended bynet.jxta.impl.meter.GenericServiceMonitor
      extended bynet.jxta.impl.rendezvous.rendezvousMeter.RendezvousServiceMonitor
All Implemented Interfaces:
Module, ServiceMonitor, ServiceMonitorImpl

public class RendezvousServiceMonitor
extends GenericServiceMonitor

The Service Monitor for the standard Rendezvous Service


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
RendezvousServiceMonitor()
           
 
Method Summary
protected  ServiceMetric collectServiceMetrics()
          
 ClientConnectionMeter getClientConnectionMeter(EndpointAddress endpointAddress)
          Get a Client Connection Meter
 ClientConnectionMeter getClientConnectionMeter(PeerID peerId)
          Get a Client Connection Meter
 ClientConnectionMeter getClientConnectionMeter(String peerIdString)
          Get a Client Connection Meter
 ServiceMetric getCumulativeServiceMetric(ServiceMonitorFilter serviceMonitorFilter, long fromTime, long toTime)
          
 RendezvousConnectionMeter getRendezvousConnectionMeter(PeerID peerID)
          Get a Rendezvous Connection Meter
 RendezvousConnectionMeter getRendezvousConnectionMeter(String peerIdStr)
          Get a Rendezvous Connection Meter
 RendezvousMeter getRendezvousMeter()
          Get the General RendezvousMeter
 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

RendezvousServiceMonitor

public RendezvousServiceMonitor()
Method Detail

init

protected void init()

Overrides:
init in class GenericServiceMonitor

getRendezvousMeter

public RendezvousMeter getRendezvousMeter()
Get the General RendezvousMeter


getClientConnectionMeter

public ClientConnectionMeter getClientConnectionMeter(EndpointAddress endpointAddress)
Get a Client Connection Meter

Parameters:
endpointAddress - containing Peer Id for the Meter

getClientConnectionMeter

public ClientConnectionMeter getClientConnectionMeter(PeerID peerId)
Get a Client Connection Meter

Parameters:
peerId - Peer Id for the Meter

getClientConnectionMeter

public ClientConnectionMeter getClientConnectionMeter(String peerIdString)
Get a Client Connection Meter

Parameters:
peerIdString - Peer Id as a String

getRendezvousConnectionMeter

public RendezvousConnectionMeter getRendezvousConnectionMeter(String peerIdStr)
Get a Rendezvous Connection Meter

Parameters:
peerIdStr - Peer Id for the Meter as a String

getRendezvousConnectionMeter

public RendezvousConnectionMeter getRendezvousConnectionMeter(PeerID peerID)
Get a Rendezvous Connection Meter


collectServiceMetrics

protected ServiceMetric collectServiceMetrics()

Specified by:
collectServiceMetrics in class GenericServiceMonitor

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

JXTA J2SE