|
Project 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
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)
|
ModuleClassID |
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 |
getTransportMetrics()
Get all Transport Metrics |
void |
init(ModuleClassID moduleClassID)
|
void |
initializeFrom(Element element)
|
void |
mergeMetrics(ServiceMetric serviceMetric)
|
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)
public Iterator getTransportMetrics()
public TransportMetric getTransportMetric(String protocol, EndpointAddress endpointAddress)
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
public void mergeMetrics(ServiceMetric serviceMetric, TransportServiceMonitorFilter transportServiceMonitorFilter)
public TransportServiceMetric deepCopy(TransportServiceMonitorFilter transportServiceMonitorFilter)
public void diffMetrics(ServiceMetric otherOne)
diffMetrics
in interface ServiceMetric
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |