org.apache.activemq.broker.jmx
Class ProducerView
java.lang.Object
org.apache.activemq.broker.jmx.ProducerView
- All Implemented Interfaces:
- ProducerViewMBean
public class ProducerView
- extends java.lang.Object
- implements ProducerViewMBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
info
protected final ProducerInfo info
clientId
protected final java.lang.String clientId
userName
protected final java.lang.String userName
broker
protected final ManagedRegionBroker broker
lastUsedDestination
protected ActiveMQDestination lastUsedDestination
ProducerView
public ProducerView(ProducerInfo info,
java.lang.String clientId,
java.lang.String userName,
ManagedRegionBroker broker)
getClientId
public java.lang.String getClientId()
- Specified by:
getClientId
in interface ProducerViewMBean
- Returns:
- the clientId of the Connection the Producer is on
getConnectionId
public java.lang.String getConnectionId()
- Specified by:
getConnectionId
in interface ProducerViewMBean
- Returns:
- the id of the Connection the Producer is on
getSessionId
public long getSessionId()
- Specified by:
getSessionId
in interface ProducerViewMBean
- Returns:
- the id of the Session the Producer is on
getProducerId
public java.lang.String getProducerId()
- Specified by:
getProducerId
in interface ProducerViewMBean
- Returns:
- the id of Producer.
getDestinationName
public java.lang.String getDestinationName()
- Specified by:
getDestinationName
in interface ProducerViewMBean
- Returns:
- the destination name
isDestinationQueue
public boolean isDestinationQueue()
- Specified by:
isDestinationQueue
in interface ProducerViewMBean
- Returns:
- true if the destination is a Queue
isDestinationTopic
public boolean isDestinationTopic()
- Specified by:
isDestinationTopic
in interface ProducerViewMBean
- Returns:
- true of the destination is a Topic
isDestinationTemporary
public boolean isDestinationTemporary()
- Specified by:
isDestinationTemporary
in interface ProducerViewMBean
- Returns:
- true if the destination is temporary
getProducerWindowSize
public int getProducerWindowSize()
- Specified by:
getProducerWindowSize
in interface ProducerViewMBean
isDispatchAsync
public boolean isDispatchAsync()
- Specified by:
isDispatchAsync
in interface ProducerViewMBean
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- pretty print
getUserName
public java.lang.String getUserName()
- Description copied from interface:
ProducerViewMBean
- Returns the User Name used to authorize creation of this Producer.
This value can be null if display of user name information is disabled.
- Specified by:
getUserName
in interface ProducerViewMBean
- Returns:
- the name of the user that created this Producer
Copyright © 2005-2015. All Rights Reserved.