|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.endpoint.transportMeter.TransportServiceMetric
public class TransportServiceMetric
The Service Monitor Metric for the Transport Services
Constructor Summary | |
---|---|
TransportServiceMetric()
|
Method Summary | |
---|---|
void |
addTransportMetric(TransportMetric transportMetric)
Append a Transport Metric |
TransportServiceMetric |
deepCopy(TransportServiceMonitorFilter transportServiceMonitorFilter)
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 |
ModuleClassID |
getModuleClassID()
getModuleClassID |
TransportMetric |
getTransportMetric(String protocol,
EndpointAddress endpointAddress)
Get the Transport Metric for a specific Transport Type |
TransportMetric |
getTransportMetric(TransportMetric prototype)
Get the Transport Metric for a specific Transport Type |
Iterator<TransportMetric> |
getTransportMetrics()
Get all Transport Metrics |
void |
init(ModuleClassID moduleClassID)
init |
void |
initializeFrom(Element element)
|
void |
mergeMetrics(ServiceMetric serviceMetric)
Additively Merge Metrics from this Metric |
void |
mergeMetrics(ServiceMetric serviceMetric,
TransportServiceMonitorFilter transportServiceMonitorFilter)
|
void |
serializeTo(Element element)
|
TransportServiceMetric |
shallowCopy(TransportServiceMonitorFilter transportServiceMonitorFilter)
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransportServiceMetric()
Method Detail |
---|
public void init(ModuleClassID moduleClassID)
init
in interface ServiceMetric
public ModuleClassID getModuleClassID()
getModuleClassID
in interface ServiceMetric
public void addTransportMetric(TransportMetric transportMetric)
transportMetric
- metric to addpublic Iterator<TransportMetric> getTransportMetrics()
public TransportMetric getTransportMetric(String protocol, EndpointAddress endpointAddress)
protocol
- protocol nameendpointAddress
- address
public TransportMetric getTransportMetric(TransportMetric prototype)
prototype
- a similar Transport metric object (ie same protocol/endpointAddress)
getTransportMetric(String, EndpointAddress)
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 TransportServiceMetric shallowCopy(TransportServiceMonitorFilter transportServiceMonitorFilter)
Note: since this is a shallow copy it is dangerous to modify the submetrics
transportServiceMonitorFilter
- Filter designates constituant parts to be included
public void mergeMetrics(ServiceMetric serviceMetric)
mergeMetrics
in interface ServiceMetric
serviceMetric
- The metric being merged into this metricpublic void mergeMetrics(ServiceMetric serviceMetric, TransportServiceMonitorFilter transportServiceMonitorFilter)
serviceMetric
- transportServiceMonitorFilter
- public TransportServiceMetric deepCopy(TransportServiceMonitorFilter transportServiceMonitorFilter)
transportServiceMonitorFilter
- Filter designates constituant parts to be included
public void diffMetrics(ServiceMetric otherOne)
diffMetrics
in interface ServiceMetric
otherOne
- The metric being removed into this metric
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |