|
Project 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.endpoint.transportMeter.TransportServiceMonitor
public class TransportServiceMonitor
The Service Monitor Metric for the Transport Services
Each Transport will register with this to create their own TransportMeter
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 | |
---|---|
TransportServiceMonitor()
|
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 |
TransportMeter |
createTransportMeter(String protocol,
EndpointAddress endpointAddress)
Create a service TransportMeter for a registerd Transport Type |
TransportMeter |
createTransportMeter(String protocol,
String sourceAddressString)
Deprecated. |
ServiceMetric |
getCumulativeServiceMetric(ServiceMonitorFilter serviceMonitorFilter,
long fromTime,
long toTime)
|
ServiceMetric |
getServiceMetric(ServiceMonitorFilter serviceMonitorFilter,
long fromTime,
long toTime,
int pulseIndex,
long reportRate)
|
protected void |
init()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransportServiceMonitor()
Method Detail |
---|
protected void init()
init
in class GenericServiceMonitor
public TransportMeter createTransportMeter(String protocol, String sourceAddressString)
createTransportMeter(String, EndpointAddress)
public TransportMeter createTransportMeter(String protocol, EndpointAddress endpointAddress)
protocol
- Descriptive name of protocolendpointAddress
- The common public address for this transport
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
public ServiceMetric getCumulativeServiceMetric(ServiceMonitorFilter serviceMonitorFilter, long fromTime, long toTime)
getCumulativeServiceMetric
in interface ServiceMonitor
getCumulativeServiceMetric
in class GenericServiceMonitor
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |