Package org.apache.activemq.broker.jmx
Interface ProducerViewMBean
- All Known Implementing Classes:
ProducerView
public interface ProducerViewMBean
-
Method Summary
Modifier and TypeMethodDescriptionintintlonglonglongReturns the User Name used to authorize creation of this Producer.booleanbooleanbooleanbooleanDeprecated.This value is no longer used for producers.booleanvoidvoid
-
Method Details
-
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.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()
-