Package com.tibco.tibjms.admin
Class DetailedDestStat
- java.lang.Object
-
- com.tibco.tibjms.admin.DetailedDestStat
-
public class DetailedDestStat extends java.lang.ObjectThis class represents detailed destination statistics about another object (Topic, Queue etc). Detailed statistics are optionally collected by the server for wildcarded consumers, unidentified producers and routes.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetailedDestStatfrom(javax.management.openmbean.CompositeData cd)For Internal use only, may be removed or deprecated in future.java.lang.StringgetDestinationName()Returns the name of the destination.intgetDestinationType()Returns the type of the destination.StatDatagetInboundStatData()Returns inbound statistics for this bidirectional destination.StatDatagetOutboundStatData()Returns outbound statistics for this bidirectional destination.StatDatagetStatData()Returns statistics if this is unidirectional destination statistics.java.lang.StringtoString()
-
-
-
Method Detail
-
getDestinationType
public int getDestinationType()
Returns the type of the destination.- Returns:
- destination type.
-
getDestinationName
public java.lang.String getDestinationName()
Returns the name of the destination.- Returns:
- destination name.
-
getStatData
public StatData getStatData()
Returns statistics if this is unidirectional destination statistics. Unidirectional destinations are those collected for producers and consumers.- Returns:
- the statistics data.
-
getInboundStatData
public StatData getInboundStatData()
Returns inbound statistics for this bidirectional destination. Bidirectional destinations are those collected for routes.- Returns:
- the inbound statistics data.
-
getOutboundStatData
public StatData getOutboundStatData()
Returns outbound statistics for this bidirectional destination. Bidirectional destinations are those collected for routes.- Returns:
- the outbound statistics data.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
from
public static DetailedDestStat from(javax.management.openmbean.CompositeData cd) throws java.lang.Exception
For Internal use only, may be removed or deprecated in future.- Returns:
- a DetailedDestStat object from CompositeData
- Throws:
java.lang.IllegalArgumentException- if CompositeType does not match or if a null CompositeData is passed.java.lang.Exception
-
-