|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.endpoint.endpointMeter.EndpointServiceMetric
public class EndpointServiceMetric
Basic Service Metric EndpointService Monitoring
Constructor Summary | |
---|---|
EndpointServiceMetric()
|
|
EndpointServiceMetric(ModuleClassID moduleClassID)
|
Method Summary | |
---|---|
(package private) void |
addInboundMetric(InboundMetric inboundMetric)
|
(package private) void |
addOutboundMetric(OutboundMetric outboundMetric)
|
(package private) void |
addPropagationMetric(PropagationMetric propagationMetric)
|
Object |
clone()
|
EndpointServiceMetric |
deepCopy(EndpointServiceMonitorFilter endpointServiceMonitorFilter)
Make a deep copy of this metric only including the portions designated in the Filter The resulting metric is Safe to modify without danger to the underlying Monitor Metrics |
void |
diffMetrics(ServiceMetric otherOne)
Subtractively Remove Metrics from this Metric |
EndpointMetric |
getEndpointMetric()
|
InboundMetric |
getInboundMetric(String serviceName,
String serviceParam)
|
Iterator<InboundMetric> |
getInboundMetrics()
|
ModuleClassID |
getModuleClassID()
getModuleClassID |
OutboundMetric |
getOutboundMetric(EndpointAddress endpointAddress)
|
Iterator<OutboundMetric> |
getOutboundMetrics()
|
PropagationMetric |
getPropagationMetric(String serviceName,
String serviceParam)
|
Iterator<PropagationMetric> |
getPropagationMetrics()
|
void |
init(ModuleClassID moduleClassID)
init |
void |
initializeFrom(Element element)
|
void |
mergeMetrics(ServiceMetric otherOne)
Additively Merge Metrics from this Metric |
void |
mergeMetrics(ServiceMetric otherOne,
boolean includeEndpointMetrics,
boolean includeInboundMetrics,
boolean includeOutboundEndpointMetrics,
boolean includePropagationMetrics)
|
void |
serializeTo(Element element)
|
(package private) void |
setEndpointMetric(EndpointMetric endpointMetric)
|
EndpointServiceMetric |
shallowCopy(EndpointServiceMonitorFilter endpointServiceMonitorFilter)
Make a shallow copy of this metric only including the portions designated in the Filter Note: since this is a shallow copy it is dangerous to modify the submetrics |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EndpointServiceMetric()
public EndpointServiceMetric(ModuleClassID moduleClassID)
Method Detail |
---|
public void init(ModuleClassID moduleClassID)
net.jxta.meter.ServiceMetric
init
in interface ServiceMetric
public ModuleClassID getModuleClassID()
net.jxta.meter.ServiceMetric
getModuleClassID
in interface ServiceMetric
void addInboundMetric(InboundMetric inboundMetric)
public Iterator<InboundMetric> getInboundMetrics()
public InboundMetric getInboundMetric(String serviceName, String serviceParam)
public Iterator<PropagationMetric> getPropagationMetrics()
public PropagationMetric getPropagationMetric(String serviceName, String serviceParam)
void addPropagationMetric(PropagationMetric propagationMetric)
void addOutboundMetric(OutboundMetric outboundMetric)
public Iterator<OutboundMetric> getOutboundMetrics()
public OutboundMetric getOutboundMetric(EndpointAddress endpointAddress)
public EndpointMetric getEndpointMetric()
void setEndpointMetric(EndpointMetric endpointMetric)
public void serializeTo(Element element) throws DocumentSerializationException
serializeTo
in interface DocumentSerializable
DocumentSerializationException
public void initializeFrom(Element element) throws DocumentSerializationException
initializeFrom
in interface DocumentSerializable
DocumentSerializationException
public void mergeMetrics(ServiceMetric otherOne)
net.jxta.meter.ServiceMetric
mergeMetrics
in interface ServiceMetric
otherOne
- The metric being merged into this metricpublic EndpointServiceMetric deepCopy(EndpointServiceMonitorFilter endpointServiceMonitorFilter)
endpointServiceMonitorFilter
- Filter designates constituant parts to be included
public void mergeMetrics(ServiceMetric otherOne, boolean includeEndpointMetrics, boolean includeInboundMetrics, boolean includeOutboundEndpointMetrics, boolean includePropagationMetrics)
public EndpointServiceMetric shallowCopy(EndpointServiceMonitorFilter endpointServiceMonitorFilter)
Note: since this is a shallow copy it is dangerous to modify the submetrics
endpointServiceMonitorFilter
- Filter designates constituant parts to be included
public void diffMetrics(ServiceMetric otherOne)
net.jxta.meter.ServiceMetric
diffMetrics
in interface ServiceMetric
otherOne
- The metric being removed into this metricpublic Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |