public class DurableSubscriptionView extends SubscriptionView implements DurableSubscriptionViewMBean
| Modifier and Type | Field and Description |
|---|---|
protected ManagedRegionBroker |
broker |
protected DurableTopicSubscription |
durableSub |
protected String |
subscriptionName |
clientId, subscription, userName| Constructor and Description |
|---|
DurableSubscriptionView(ManagedRegionBroker broker,
String clientId,
String userName,
Subscription sub)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CompositeData[] |
browse()
Browse messages for this durable subscriber
|
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() |
String |
getSubscriptionName() |
boolean |
isActive() |
boolean |
isCursorFull() |
String |
toString() |
gc, getClientId, getConnection, getConnectionId, getConsumerInfo, getDequeueCounter, getDestinationName, getDispatchedCounter, getDispatchedQueueSize, getEnqueueCounter, getMaximumPendingMessageLimit, getMessageCountAwaitingAcknowledge, getPendingQueueSize, getPrefetchSize, getPriority, getSelector, getSessionId, getSubcriptionId, getSubcriptionName, getUserName, isDestinationQueue, isDestinationTemporary, isDestinationTopic, isDurable, isExclusive, isMatchingQueue, isMatchingTopic, isNoLocal, isRetroactive, isSlowConsumer, matchesDestination, setSelectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClientId, getConnection, getConnectionId, getDequeueCounter, getDestinationName, getDispatchedCounter, getDispatchedQueueSize, getEnqueueCounter, getMaximumPendingMessageLimit, getMessageCountAwaitingAcknowledge, getPendingQueueSize, getPrefetchSize, getPriority, getSelector, getSessionId, getSubcriptionId, getSubcriptionName, getUserName, isDestinationQueue, isDestinationTemporary, isDestinationTopic, isDurable, isExclusive, isMatchingQueue, isMatchingTopic, isNoLocal, isRetroactive, isSlowConsumer, setSelectorprotected ManagedRegionBroker broker
protected String subscriptionName
protected DurableTopicSubscription durableSub
public DurableSubscriptionView(ManagedRegionBroker broker, String clientId, String userName, Subscription sub)
clientId - sub - public String getSubscriptionName()
getSubscriptionName in interface DurableSubscriptionViewMBeanpublic CompositeData[] browse() throws OpenDataException
browse in interface DurableSubscriptionViewMBeanOpenDataExceptionpublic TabularData browseAsTable() throws OpenDataException
browseAsTable in interface DurableSubscriptionViewMBeanOpenDataExceptionpublic void destroy() throws Exception
destroy in interface DurableSubscriptionViewMBeanExceptionpublic 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–2017. All rights reserved.