Package org.apache.activemq.broker.jmx
Interface ProducerViewMBean
-
- All Known Implementing Classes:
ProducerView
public interface ProducerViewMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getClientId()
String
getConnectionId()
String
getDestinationName()
int
getPercentageBlocked()
String
getProducerId()
int
getProducerWindowSize()
long
getSentCount()
long
getSessionId()
long
getTotalTimeBlocked()
String
getUserName()
Returns the User Name used to authorize creation of this Producer.boolean
isDestinationQueue()
boolean
isDestinationTemporary()
boolean
isDestinationTopic()
boolean
isDispatchAsync()
Deprecated.This value is no longer used for producers.boolean
isProducerBlocked()
void
resetFlowControlStats()
void
resetStatistics()
-
-
-
Method Detail
-
getClientId
String getClientId()
- Returns:
- the clientId of the Connection the Producer is on
-
getConnectionId
String getConnectionId()
- Returns:
- the id of the Connection the Producer is on
-
getSessionId
long getSessionId()
- Returns:
- the id of the Session the Producer is on
-
getProducerId
String getProducerId()
- Returns:
- the id of Producer.
-
getDestinationName
String getDestinationName()
- Returns:
- the destination name
-
isDestinationQueue
boolean isDestinationQueue()
- Returns:
- true if the destination is a Queue
-
isDestinationTopic
boolean isDestinationTopic()
- Returns:
- true of the destination is a Topic
-
isDestinationTemporary
boolean isDestinationTemporary()
- Returns:
- true if the destination is temporary
-
getProducerWindowSize
int getProducerWindowSize()
- Returns:
- the windows size configured for the producer
-
isDispatchAsync
@Deprecated boolean isDispatchAsync()
Deprecated.This value is no longer used for producers.- Returns:
- if the Producer is configured for Async dispatch
-
getUserName
String getUserName()
Returns the User Name used to authorize creation of this Producer. This value can be null if display of user name information is disabled.- Returns:
- the name of the user that created this Producer
-
isProducerBlocked
boolean isProducerBlocked()
-
getTotalTimeBlocked
long getTotalTimeBlocked()
-
getPercentageBlocked
int getPercentageBlocked()
-
resetFlowControlStats
void resetFlowControlStats()
-
resetStatistics
void resetStatistics()
-
getSentCount
long getSentCount()
-
-