public class StorePendingDurableSubscriberMessageStoragePolicy extends Object implements PendingDurableSubscriberMessageStoragePolicy
Constructor and Description |
---|
StorePendingDurableSubscriberMessageStoragePolicy() |
Modifier and Type | Method and Description |
---|---|
PendingMessageCursor |
getSubscriberPendingMessageCursor(Broker broker,
String clientId,
String name,
int maxBatchSize,
DurableTopicSubscription sub)
Retrieve the configured pending message storage cursor;
|
boolean |
isImmediatePriorityDispatch() |
boolean |
isUseCache() |
void |
setImmediatePriorityDispatch(boolean immediatePriorityDispatch)
Ensure that new higher priority messages will get an immediate dispatch
rather than wait for the end of the current cursor batch.
|
void |
setUseCache(boolean useCache) |
public StorePendingDurableSubscriberMessageStoragePolicy()
public boolean isImmediatePriorityDispatch()
public void setImmediatePriorityDispatch(boolean immediatePriorityDispatch)
immediatePriorityDispatch
- public boolean isUseCache()
public void setUseCache(boolean useCache)
public PendingMessageCursor getSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub)
getSubscriberPendingMessageCursor
in interface PendingDurableSubscriberMessageStoragePolicy
broker
- clientId
- name
- maxBatchSize
- sub
- Copyright © 2005–2020 FuseSource, Corp.. All rights reserved.