Package com.tibco.tibjms.admin
Class ProducerInfo
- java.lang.Object
- 
- com.tibco.tibjms.admin.ProducerInfo
 
- 
 public class ProducerInfo extends java.lang.ObjectA ProducerInfo object represents a message producer.
- 
- 
Constructor SummaryConstructors Constructor Description ProducerInfo(java.lang.Object json)For Internal use only, may be removed or deprecated in future.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProducerInfofrom(javax.management.openmbean.CompositeData cd)For Internal use only, may be removed or deprecated in future.longgetConnectionID()Returns producer's connection ID.longgetCreateTime()Returns producer's creation time in milliseconds.java.lang.StringgetDestinationName()Returns producer's destination name.intgetDestinationType()Returns producer's destination type.DetailedDestStat[]getDetailedStatistics()Returns detailed statistics for an unidentified producer.longgetID()Returns producer ID.longgetSessionID()Returns producer's session ID.StatDatagetStatistics()Returns producer's total statistics.java.lang.StringgetUsername()Returns producer's user name.java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
ProducerInfopublic ProducerInfo(java.lang.Object json) throws JMSExceptionFor Internal use only, may be removed or deprecated in future.- Throws:
- JMSException
 
 
- 
 - 
Method Detail- 
getIDpublic long getID() Returns producer ID.- Returns:
- the producer ID.
 
 - 
getSessionIDpublic long getSessionID() Returns producer's session ID.- Returns:
- the producer's session ID.
 
 - 
getConnectionIDpublic long getConnectionID() Returns producer's connection ID.- Returns:
- the producer's connection ID.
 
 - 
getCreateTimepublic long getCreateTime() Returns producer's creation time in milliseconds.- Returns:
- the producer's creation time in milliseconds.
 
 - 
getUsernamepublic java.lang.String getUsername() Returns producer's user name.- Returns:
- the producer's user name.
 
 - 
getDestinationTypepublic int getDestinationType() Returns producer's destination type.- Returns:
- the producer's destination type.
 
 - 
getDestinationNamepublic java.lang.String getDestinationName() Returns producer's destination name.- Returns:
- the producer's destination name or null if this is an unidentified producer.
 
 - 
getStatisticspublic StatData getStatistics() Returns producer's total statistics.- Returns:
- the producer's total statistics.
 
 - 
getDetailedStatisticspublic DetailedDestStat[] getDetailedStatistics() Returns detailed statistics for an unidentified producer. Detailed statistics gives a break down of the producer's aggregate statistics across the different destinations that the producer has sent messages on.- Returns:
- the producer's detailed statistics or null if either detailed statistics for producers is not enabled or if the producer is not identified with a particular destination.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
frompublic static ProducerInfo from(javax.management.openmbean.CompositeData cd) throws java.lang.Exception For Internal use only, may be removed or deprecated in future.- Returns:
- a ProducerInfo object from CompositeData
- Throws:
- java.lang.IllegalArgumentException- if CompositeType does not match or if a null CompositeData is passed.
- java.lang.Exception
 
 
- 
 
-