|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.meter.MonitorReport
A Monitor Report contains service-specific metrics for each service specified in the corresponding MonitorFilter (provided when the report was requested).
Constructor Summary | |
MonitorReport()
Monitor Reports are generally not created by applications, but by the Monitor or PeerInfoService |
|
MonitorReport(long fromTime,
long toTime,
boolean isCumulative)
Monitor Reports are generally not created by applications, but by the Monitor or PeerInfoService |
Method Summary | |
void |
addServiceMetric(ModuleClassID moduleClassID,
ServiceMetric serviceMetric)
addServiceMetric are generally not created by applications, but by the Monitor or PeerInfoService |
void |
addServiceMetric(ServiceMetric serviceMetric)
addServiceMetric are generally not created by applications, but by the Monitor or PeerInfoService |
long |
getFromTime()
Begin time that this report is representing |
ServiceMetric |
getServiceMetric(ModuleClassID moduleClassID)
Get the contained service-specific ServiceMetric for the specified ServiceMonitor's classID |
Iterator |
getServiceMetrics()
Get the contained service-specific ServiceMetrics |
long |
getToTime()
End time that this report is representing |
Iterator |
getUnknownModuleClassIDs()
Get iterator of ModuleClassIDs of serviceMetrics for which there weren't registered ServiceMetric classes |
void |
initializeFrom(Element element)
|
boolean |
isCumulative()
Does this report contain metrics from the last time the monitor was reset or is this a delta report |
boolean |
isUnknownModuleClassIDs()
Did this report contain any serviceMetrics for which there weren't registered ServiceMetric classes |
void |
serializeTo(Element element)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MonitorReport()
public MonitorReport(long fromTime, long toTime, boolean isCumulative)
fromTime
- toTime
- isCumulative
- Method Detail |
public long getFromTime()
public long getToTime()
public boolean isCumulative()
public Iterator getServiceMetrics()
public ServiceMetric getServiceMetric(ModuleClassID moduleClassID)
moduleClassID
- ServiceMonitor's classID
public void addServiceMetric(ServiceMetric serviceMetric)
public void addServiceMetric(ModuleClassID moduleClassID, ServiceMetric serviceMetric)
public boolean isUnknownModuleClassIDs()
MonitorResources
public Iterator getUnknownModuleClassIDs()
public void serializeTo(Element element) throws DocumentSerializationException
serializeTo
in interface DocumentSerializable
DocumentSerializationException
public void initializeFrom(Element element) throws DocumentSerializationException
initializeFrom
in interface DocumentSerializable
DocumentSerializationException
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |