public interface ReferenceStore extends MessageStore
| Modifier and Type | Interface and Description |
|---|---|
static class |
ReferenceStore.ReferenceData |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMessageReference(ConnectionContext context,
MessageId messageId,
ReferenceStore.ReferenceData data)
Adds a message reference to the message store
|
ReferenceStore.ReferenceData |
getMessageReference(MessageId identity)
Looks up a message using either the String messageID or the
messageNumber.
|
Lock |
getStoreLock() |
void |
setBatch(MessageId startAfter)
allow caching cursors to set the current batch offset when cache is exhausted
|
boolean |
supportsExternalBatchControl() |
addMessage, addMessage, asyncAddQueueMessage, asyncAddQueueMessage, asyncAddTopicMessage, asyncAddTopicMessage, dispose, getDestination, getMessage, getMessageCount, isEmpty, isPrioritizedMessages, recover, recoverNextMessages, registerIndexListener, removeAllMessages, removeAsyncMessage, removeMessage, resetBatching, setMemoryUsage, setPrioritizedMessages, updateMessageboolean addMessageReference(ConnectionContext context, MessageId messageId, ReferenceStore.ReferenceData data) throws IOException
IOExceptionReferenceStore.ReferenceData getMessageReference(MessageId identity) throws IOException
IOExceptionboolean supportsExternalBatchControl()
void setBatch(MessageId startAfter)
MessageStoresetBatch in interface MessageStoreLock getStoreLock()
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.