|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.latencybusters.lbm.LBMContextStatistics
public class LBMContextStatistics
UM Context Statistics
| Constructor Summary | |
|---|---|
LBMContextStatistics()
Instantiate an empty object containing no statistics. |
|
LBMContextStatistics(LBMContext ctx)
Instantiate an object containing the current set of context statistics for a given UM Context. |
|
| Method Summary | |
|---|---|
void |
dispose()
Free memory associated with this set of statistics |
protected void |
finalize()
|
java.lang.String |
getApplicationSourceId()
Retrieve the application source identifier associated with this set of statistics. |
long |
getContextId()
Retrieve the sending context ID associated with this set of statistics. |
long |
getProcessId()
Retrieve the sending process ID associated with this set of statistics. |
java.net.InetAddress |
getSender()
Retrieve the IP sender address associated with this set of statistics. |
java.util.Date |
getTimestamp()
Retrieve the timestamp associated with this set of statistics. |
long |
lbtrmUnknownMessagesReceived()
Number of LBT-RM datagrams received not belonging to any transport session. |
long |
lbtruUnknownMessagesReceived()
Number of LBT-RU datagrams received not belonging to any transport session. |
void |
refresh(LBMContext ctx)
Refresh lbm context statistics for a given LBMContext |
long |
responseBlocked()
Number of incidents where a UM send response call was blocked. |
long |
responseWouldBlock()
Number of incidents where a UM send response call returned EWOULDBLOCK. |
long |
sendBlocked()
Number of incidents where a UM send call was blocked. |
long |
sendWouldBlock()
Number of incidents where a UM send call returned EWOULDBLOCK. |
protected void |
setApplicationSourceId(java.lang.String appid)
|
protected void |
setContextId(long cid)
|
protected void |
setProcessId(long pid)
|
protected void |
setSender(long ip)
|
protected void |
setTimestamp(long ts)
|
long |
topicResolutionBytesReceived()
Number of topic resolution datagram bytes received. |
long |
topicResolutionBytesSent()
Number of topic resolution datagram bytes sent. |
long |
topicResolutionDatagramsDroppedMalformed()
Number of topic resolution datagrams discarded due to being malformed or corrupted. |
long |
topicResolutionDatagramsDroppedType()
Number of topic resolution datagrams discarded due to incorrect type. |
long |
topicResolutionDatagramsDroppedVersion()
Number of topic resolution datagrams discarded due to incorrect version. |
long |
topicResolutionDatagramsReceived()
Number of topic resolution datagrams received by this context. |
long |
topicResolutionDatagramsSendFailed()
Number of topic resolution datagram sends that failed. |
long |
topicResolutionDatagramsSent()
Number of topic resolution datagrams sent from this context. |
long |
topicResolutionReceiverTopics()
Number of topics in the receiver topic resolver cache (also referred to as the topic map). |
long |
topicResolutionSourceTopics()
Number of topics in the source topic resolver cache (also known as the topic map). |
long |
topicResolutionUnresolvedReceiverTopics()
Number of unresolved topics in the receiver topic resolver cache (also referred to as the topic map). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LBMContextStatistics()
public LBMContextStatistics(LBMContext ctx)
throws LBMException
ctx - LBMContext object
LBMException - if any error occurred retrieving context statistics.refresh(com.latencybusters.lbm.LBMContext)| Method Detail |
|---|
public void refresh(LBMContext ctx)
throws LBMException
ctx - LBMContext object
LBMException - if any error occurred retrieving context statistics.public void dispose()
protected void finalize()
finalize in class java.lang.Object
public long topicResolutionDatagramsSent()
throws LBMException
LBMException - if any error occurred retrieving topic resolution datagrams sentLBMContextStatistics(LBMContext),
LBM
public long topicResolutionDatagramsReceived()
throws LBMException
LBMException - if any error occurred retrieving topic resolution datagrams receivedLBMContextStatistics(LBMContext),
LBM
public long topicResolutionBytesSent()
throws LBMException
LBMException - if any error occurred retrieving bytes sent of topic resolution.LBMContextStatistics(LBMContext),
LBM
public long topicResolutionBytesReceived()
throws LBMException
LBMException - if any error occurred retrieving bytes received of topic resolution.LBMContextStatistics(LBMContext),
LBM
public long topicResolutionDatagramsDroppedVersion()
throws LBMException
LBMException - if any error occurred retrieving topic resolution datagrams
discarded due to incorrect version.LBMContextStatistics(LBMContext),
LBM
public long topicResolutionDatagramsDroppedType()
throws LBMException
LBMException - if any error occurred retrieving topic resolution datagrams
discarded due to incorrect typeLBMContextStatistics(LBMContext),
LBM
public long topicResolutionDatagramsDroppedMalformed()
throws LBMException
LBMException - if any error occurred retrieving topic resolution datagrams
discarded due to a malformed headerLBMContextStatistics(LBMContext),
LBM
public long topicResolutionDatagramsSendFailed()
throws LBMException
LBMException - if any error occurred retrieving topic resolution datagram
send failures.LBMContextStatistics(LBMContext),
LBM
public long topicResolutionSourceTopics()
throws LBMException
LBMException - if any error occurred retrieving the number of topics
in the source topic map.LBMContextStatistics(LBMContext),
LBM
public long topicResolutionReceiverTopics()
throws LBMException
LBMException - if any error occurred retrieving the number of topics
in the receiver topic map.LBMContextStatistics(LBMContext),
LBM
public long topicResolutionUnresolvedReceiverTopics()
throws LBMException
LBMException - if any error occurred retrieving the number of
unresolved topics in the receiver topic map.LBMContextStatistics(LBMContext),
LBM
public long lbtrmUnknownMessagesReceived()
throws LBMException
LBMException - if any error occurred retrieving the number of LBT-RM
datagrams received not belonging to any transport sessionLBMContextStatistics(LBMContext),
LBM
public long lbtruUnknownMessagesReceived()
throws LBMException
LBMException - if any error occurred retrieving the number of LBT-RU
datagrams received not belonging to any transport sessionLBMContextStatistics(LBMContext),
LBM
public long sendBlocked()
throws LBMException
LBMException - if any error occurred retrieving the number of UM send
calls which blocked.LBMContextStatistics(LBMContext),
LBM
public long sendWouldBlock()
throws LBMException
LBMException - if any error occurred retrieving the number of UM send
calls which returned EWOULDBLOCKLBMContextStatistics(LBMContext),
LBM
public long responseBlocked()
throws LBMException
LBMException - if any error occurred retrieving the number of UM send
response calls which blockedLBMContextStatistics(LBMContext),
LBM
public long responseWouldBlock()
throws LBMException
LBMException - if any error occurred retrieving the number of UM send
response calls which returned EWOULDBLOCKLBMContextStatistics(LBMContext),
LBMprotected void setSender(long ip)
protected void setTimestamp(long ts)
protected void setApplicationSourceId(java.lang.String appid)
protected void setProcessId(long pid)
protected void setContextId(long cid)
public java.lang.String getApplicationSourceId()
public java.net.InetAddress getSender()
throws java.net.UnknownHostException
java.net.UnknownHostException - if IP address is of illegal length.public java.util.Date getTimestamp()
public long getProcessId()
public long getContextId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||