|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.meter.GenericServiceMonitor
net.jxta.impl.rendezvous.rendezvousMeter.RendezvousServiceMonitor
public class RendezvousServiceMonitor
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_DISABLED, START_OK |
Constructor Summary | |
---|---|
RendezvousServiceMonitor()
|
Method Summary | |
---|---|
protected ServiceMetric |
collectServiceMetrics()
Get the service metrics accrued since the last pulse |
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)
Get ServiceMetrics since the start (or last reset time) of this ServiceMonitor. |
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)
Get ServiceMetrics accrued in during this pulse interval |
protected void |
init()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RendezvousServiceMonitor()
Method Detail |
---|
protected void init()
init
in class GenericServiceMonitor
public RendezvousMeter getRendezvousMeter()
public ClientConnectionMeter getClientConnectionMeter(EndpointAddress endpointAddress)
endpointAddress
- containing Peer Id for the Meter
public ClientConnectionMeter getClientConnectionMeter(PeerID peerId)
peerId
- Peer Id for the Meter
public ClientConnectionMeter getClientConnectionMeter(String peerIdString)
peerIdString
- Peer Id as a String
public RendezvousConnectionMeter getRendezvousConnectionMeter(String peerIdStr)
peerIdStr
- Peer Id for the Meter as a String
public RendezvousConnectionMeter getRendezvousConnectionMeter(PeerID peerID)
peerID
- Peer Id for the Meter
protected ServiceMetric collectServiceMetrics()
collectServiceMetrics
in class GenericServiceMonitor
public ServiceMetric getServiceMetric(ServiceMonitorFilter serviceMonitorFilter, long fromTime, long toTime, int pulseIndex, long reportRate)
getServiceMetric
in interface ServiceMonitor
getServiceMetric
in class GenericServiceMonitor
serviceMonitorFilter
- Filter Metrics based upon this MonitorFilterfromTime
- Beginning time as determined by the MonitorManagertoTime
- Ending time as determined by the MonitorManagerpulseIndex
- Pulse Index of the reporting rate PyramidreportRate
- Reporting Rate (corresponding to the PulseNumber's index)public ServiceMetric getCumulativeServiceMetric(ServiceMonitorFilter serviceMonitorFilter, long fromTime, long toTime)
getCumulativeServiceMetric
in interface ServiceMonitor
getCumulativeServiceMetric
in class GenericServiceMonitor
serviceMonitorFilter
- Filter Metrics based upon this MonitorFilterfromTime
- Beginning time as determined by the MonitorManagertoTime
- Ending time as determined by the MonitorManagerServiceMonitor.beginCumulativeReport()
,
ServiceMonitor.endCumulativeReport()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |