Project JXTA

net.jxta.impl.endpoint.endpointMeter
Class PropagationMeter

java.lang.Object
  extended bynet.jxta.impl.endpoint.endpointMeter.PropagationMeter

public class PropagationMeter
extends Object

Meter corresponding to a propagated messages


Constructor Summary
PropagationMeter(String serviceName, String serviceParameter)
           
 
Method Summary
 PropagationMetric collectMetrics()
           
 PropagationMetric getCumulativeMetrics()
           
(package private)  String getServiceName()
           
(package private)  String getServiceParameter()
           
 void registerPropagateMessageStats(int numPropagatedTo, int numFilteredOut, int numErrorsPropagated, long propagationTime)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropagationMeter

public PropagationMeter(String serviceName,
                        String serviceParameter)
Method Detail

registerPropagateMessageStats

public void registerPropagateMessageStats(int numPropagatedTo,
                                          int numFilteredOut,
                                          int numErrorsPropagated,
                                          long propagationTime)

getServiceName

String getServiceName()

getServiceParameter

String getServiceParameter()

toString

public String toString()

getCumulativeMetrics

public PropagationMetric getCumulativeMetrics()

collectMetrics

public PropagationMetric collectMetrics()

JXTA J2SE