|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.endpoint.endpointMeter.InboundMetric
public class InboundMetric
Meter corresponding to inbound queue for registered EndpointListeners ServiceName/ServiceParam pair
Constructor Summary | |
---|---|
InboundMetric()
|
|
InboundMetric(InboundMeter inboundMeter)
|
|
InboundMetric(InboundMetric prototype)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
long |
getAverageInboundDropTime()
The Average of time in queue for dropped messages |
long |
getAverageInboundProcessTime()
The Average clock time for local listeners to process messages |
long |
getAverageTimeInInboundQueue()
The Average of time in queue for messages |
int |
getNumInboundDeQueued()
The Number of Inbound Messages Dequeued |
int |
getNumInboundDropped()
The Number of Inbound Messages Dropped |
int |
getNumInboundProcessed()
|
int |
getNumInboundQueued()
The Number of Inbound Messages Queued |
String |
getServiceName()
The Service Name for this Metric |
String |
getServiceParameter()
The Service Parameter for this Metric |
long |
getTimeInInboundQueue()
The Sum of time in queue for messages in queue |
long |
getTimeToDropInbound()
The Sum of time for all dropped messages from queue |
long |
getTimeToProcessInbound()
The Sum of time for local listeners to process messages |
int |
hashCode()
|
(package private) void |
inboundMessageDeQueued(Message message,
long time)
|
(package private) void |
inboundMessageDropped(Message message,
long time)
|
(package private) void |
inboundMessageProcessed(Message message,
long time)
|
(package private) void |
inboundMessageQueued(Message message)
|
void |
initializeFrom(Element element)
|
boolean |
matches(String serviceName,
String serviceParam)
|
void |
mergeMetrics(InboundMetric other)
|
void |
serializeTo(Element element)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InboundMetric(InboundMeter inboundMeter)
public InboundMetric(InboundMetric prototype)
public InboundMetric()
Method Detail |
---|
public String getServiceName()
public String getServiceParameter()
public int getNumInboundQueued()
public int getNumInboundDropped()
public long getTimeToDropInbound()
public int getNumInboundDeQueued()
public long getTimeInInboundQueue()
public int getNumInboundProcessed()
public long getTimeToProcessInbound()
public long getAverageTimeInInboundQueue()
public long getAverageInboundDropTime()
public long getAverageInboundProcessTime()
public boolean equals(Object obj)
equals
in class Object
public boolean matches(String serviceName, String serviceParam)
public int hashCode()
hashCode
in class Object
void inboundMessageQueued(Message message)
void inboundMessageDropped(Message message, long time)
void inboundMessageDeQueued(Message message, long time)
void inboundMessageProcessed(Message message, long time)
public void mergeMetrics(InboundMetric other)
public void serializeTo(Element element) throws DocumentSerializationException
serializeTo
in interface DocumentSerializable
DocumentSerializationException
public void initializeFrom(Element element) throws DocumentSerializationException
initializeFrom
in interface DocumentSerializable
DocumentSerializationException
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |