|
Project JXTA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jxta.meter.PeerMonitorInfo
public class PeerMonitorInfo
The Monitoring Capabilities of a Local or Remote Peer as a list of ServiceMonitor ClassIDs and supported Reporting Rates.
| Field Summary | |
|---|---|
static PeerMonitorInfo |
NO_PEER_MONITOR_INFO
|
| Constructor Summary | |
|---|---|
PeerMonitorInfo()
PeerMonitorInfo |
|
PeerMonitorInfo(boolean allowsMonitoring,
ModuleClassID[] moduleClassIDs,
long[] reportRates,
long lastResetTime,
long runningTime)
PeerMonitorInfo |
|
| Method Summary | |
|---|---|
boolean |
allowsMonitoring()
Allows Monitoring |
long |
getLastResetTime()
Get Time that the Monitor was last Reset (probably same as startTime) |
ModuleClassID[] |
getModuleClassIDs()
Get Suported Service Monitors as a list of ModuleClassIDs |
long[] |
getReportRates()
Get Suported Reporting Rates (in Milliseconds) |
long |
getRunningTime()
Get the running time since the monitor was reset (probably same as upTime) |
void |
initializeFrom(Element element)
|
void |
serializeTo(Element element)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PeerMonitorInfo NO_PEER_MONITOR_INFO
| Constructor Detail |
|---|
public PeerMonitorInfo()
public PeerMonitorInfo(boolean allowsMonitoring,
ModuleClassID[] moduleClassIDs,
long[] reportRates,
long lastResetTime,
long runningTime)
allowsMonitoring - moduleClassIDs - reportRates - | Method Detail |
|---|
public boolean allowsMonitoring()
public long[] getReportRates()
public ModuleClassID[] getModuleClassIDs()
public long getLastResetTime()
public long getRunningTime()
public void serializeTo(Element element)
throws DocumentSerializationException
serializeTo in interface DocumentSerializableDocumentSerializationException
public void initializeFrom(Element element)
throws DocumentSerializationException
initializeFrom in interface DocumentSerializableDocumentSerializationException
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||