public class ProducerView extends Object implements ProducerViewMBean
| Modifier and Type | Field and Description |
|---|---|
protected ManagedRegionBroker |
broker |
protected String |
clientId |
protected ProducerInfo |
info |
protected ActiveMQDestination |
lastUsedDestination |
protected String |
userName |
| Constructor and Description |
|---|
ProducerView(ProducerInfo info,
String clientId,
String userName,
ManagedRegionBroker broker) |
| Modifier and Type | Method and 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() |
boolean |
isProducerBlocked() |
void |
resetFlowControlStats() |
void |
resetStatistics() |
String |
toString() |
protected final ProducerInfo info
protected final ManagedRegionBroker broker
protected ActiveMQDestination lastUsedDestination
public ProducerView(ProducerInfo info, String clientId, String userName, ManagedRegionBroker broker)
public String getClientId()
getClientId in interface ProducerViewMBeanpublic String getConnectionId()
getConnectionId in interface ProducerViewMBeanpublic long getSessionId()
getSessionId in interface ProducerViewMBeanpublic String getProducerId()
getProducerId in interface ProducerViewMBeanpublic String getDestinationName()
getDestinationName in interface ProducerViewMBeanpublic boolean isDestinationQueue()
isDestinationQueue in interface ProducerViewMBeanpublic boolean isDestinationTopic()
isDestinationTopic in interface ProducerViewMBeanpublic boolean isDestinationTemporary()
isDestinationTemporary in interface ProducerViewMBeanpublic int getProducerWindowSize()
getProducerWindowSize in interface ProducerViewMBeanpublic boolean isDispatchAsync()
isDispatchAsync in interface ProducerViewMBeanpublic String getUserName()
ProducerViewMBeangetUserName in interface ProducerViewMBeanpublic boolean isProducerBlocked()
isProducerBlocked in interface ProducerViewMBeanpublic long getTotalTimeBlocked()
getTotalTimeBlocked in interface ProducerViewMBeanpublic int getPercentageBlocked()
getPercentageBlocked in interface ProducerViewMBeanpublic void resetFlowControlStats()
resetFlowControlStats in interface ProducerViewMBeanpublic void resetStatistics()
resetStatistics in interface ProducerViewMBeanpublic long getSentCount()
getSentCount in interface ProducerViewMBeanCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.