public class DurableSubscriptionView extends SubscriptionView implements DurableSubscriptionViewMBean
| Modifier and Type | Field and Description |
|---|---|
protected ManagedRegionBroker |
broker |
protected BrokerService |
brokerService |
protected DurableTopicSubscription |
durableSub |
protected java.lang.String |
subscriptionName |
clientId, subscription, userName| Constructor and Description |
|---|
DurableSubscriptionView(ManagedRegionBroker broker,
BrokerService brokerService,
java.lang.String clientId,
java.lang.String userName,
Subscription sub)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.management.openmbean.CompositeData[] |
browse()
Browse messages for this durable subscriber
|
javax.management.openmbean.TabularData |
browseAsTable()
Browse messages for this durable subscriber
|
int |
cursorSize() |
void |
destroy()
Destroys the durable subscription so that messages will no longer be
stored for this subscription
|
boolean |
doesCursorHaveMessagesBuffered() |
boolean |
doesCursorHaveSpace() |
long |
getCursorMemoryUsage() |
int |
getCursorPercentUsage() |
java.lang.String |
getSubscriptionName() |
boolean |
isActive() |
boolean |
isCursorFull() |
java.lang.String |
toString() |
gc, getClientId, getConnection, getConnectionId, getConsumedCount, getConsumerInfo, getDequeueCounter, getDestinationName, getDispatchedCounter, getDispatchedQueueSize, getEnqueueCounter, getMaximumPendingMessageLimit, getMessageCountAwaitingAcknowledge, getPendingQueueSize, getPrefetchSize, getPriority, getSelector, getSessionId, getSubcriptionId, getSubcriptionName, getSubscriptionId, getUserName, isDestinationQueue, isDestinationTemporary, isDestinationTopic, isDurable, isExclusive, isMatchingQueue, isMatchingTopic, isNetwork, isNoLocal, isRetroactive, isSlowConsumer, matchesDestination, resetStatistics, setSelectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClientId, getConnection, getConnectionId, getConsumedCount, getDequeueCounter, getDestinationName, getDispatchedCounter, getDispatchedQueueSize, getEnqueueCounter, getMaximumPendingMessageLimit, getMessageCountAwaitingAcknowledge, getPendingQueueSize, getPrefetchSize, getPriority, getSelector, getSessionId, getSubcriptionId, getSubcriptionName, getSubscriptionId, getUserName, isDestinationQueue, isDestinationTemporary, isDestinationTopic, isDurable, isExclusive, isMatchingQueue, isMatchingTopic, isNetwork, isNoLocal, isRetroactive, isSlowConsumer, resetStatistics, setSelectorprotected ManagedRegionBroker broker
protected BrokerService brokerService
protected java.lang.String subscriptionName
protected DurableTopicSubscription durableSub
public DurableSubscriptionView(ManagedRegionBroker broker, BrokerService brokerService, java.lang.String clientId, java.lang.String userName, Subscription sub)
clientId - sub - public java.lang.String getSubscriptionName()
getSubscriptionName in interface DurableSubscriptionViewMBeangetSubscriptionName in interface SubscriptionViewMBeangetSubscriptionName in class SubscriptionViewpublic javax.management.openmbean.CompositeData[] browse()
throws javax.management.openmbean.OpenDataException
browse in interface DurableSubscriptionViewMBeanjavax.management.openmbean.OpenDataExceptionpublic javax.management.openmbean.TabularData browseAsTable()
throws javax.management.openmbean.OpenDataException
browseAsTable in interface DurableSubscriptionViewMBeanjavax.management.openmbean.OpenDataExceptionpublic void destroy()
throws java.lang.Exception
destroy in interface DurableSubscriptionViewMBeanjava.lang.Exceptionpublic java.lang.String toString()
toString in class SubscriptionViewpublic int cursorSize()
cursorSize in interface DurableSubscriptionViewMBeanpublic boolean doesCursorHaveMessagesBuffered()
doesCursorHaveMessagesBuffered in interface DurableSubscriptionViewMBeanpublic boolean doesCursorHaveSpace()
doesCursorHaveSpace in interface DurableSubscriptionViewMBeanpublic long getCursorMemoryUsage()
getCursorMemoryUsage in interface DurableSubscriptionViewMBeanpublic int getCursorPercentUsage()
getCursorPercentUsage in interface DurableSubscriptionViewMBeanpublic boolean isCursorFull()
isCursorFull in interface DurableSubscriptionViewMBeanpublic boolean isActive()
isActive in interface SubscriptionViewMBeanisActive in class SubscriptionViewCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.