public class TempKahaDBStore.KahaDBMessageStore extends AbstractMessageStore
| Modifier and Type | Field and Description |
|---|---|
protected KahaDestination |
dest |
destination, FUTURE, indexListener, prioritizedMessages| Constructor and Description |
|---|
TempKahaDBStore.KahaDBMessageStore(org.apache.activemq.command.ActiveMQDestination destination) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(ConnectionContext context,
org.apache.activemq.command.Message message) |
org.apache.activemq.command.ActiveMQDestination |
getDestination() |
org.apache.activemq.command.Message |
getMessage(org.apache.activemq.command.MessageId identity) |
int |
getMessageCount() |
void |
recover(MessageRecoveryListener listener) |
void |
recoverNextMessages(int maxReturned,
MessageRecoveryListener listener) |
void |
removeAllMessages(ConnectionContext context) |
void |
removeMessage(ConnectionContext context,
org.apache.activemq.command.MessageAck ack) |
void |
resetBatching() |
void |
setBatch(org.apache.activemq.command.MessageId identity) |
void |
setMemoryUsage(MemoryUsage memoryUsage) |
void |
start() |
void |
stop() |
addMessage, asyncAddQueueMessage, asyncAddQueueMessage, asyncAddTopicMessage, asyncAddTopicMessage, dispose, getIndexListener, isEmpty, isPrioritizedMessages, registerIndexListener, removeAsyncMessage, setPrioritizedMessages, updateMessageprotected KahaDestination dest
public TempKahaDBStore.KahaDBMessageStore(org.apache.activemq.command.ActiveMQDestination destination)
public org.apache.activemq.command.ActiveMQDestination getDestination()
getDestination in interface MessageStoregetDestination in class AbstractMessageStorepublic void addMessage(ConnectionContext context, org.apache.activemq.command.Message message) throws IOException
IOExceptionpublic void removeMessage(ConnectionContext context, org.apache.activemq.command.MessageAck ack) throws IOException
IOExceptionpublic void removeAllMessages(ConnectionContext context) throws IOException
IOExceptionpublic org.apache.activemq.command.Message getMessage(org.apache.activemq.command.MessageId identity) throws IOException
IOExceptionpublic int getMessageCount() throws IOException
IOExceptionpublic void recover(MessageRecoveryListener listener) throws Exception
Exceptionpublic void recoverNextMessages(int maxReturned, MessageRecoveryListener listener) throws Exception
Exceptionpublic void resetBatching()
public void setBatch(org.apache.activemq.command.MessageId identity) throws IOException
setBatch in interface MessageStoresetBatch in class AbstractMessageStoreIOExceptionpublic void setMemoryUsage(MemoryUsage memoryUsage)
setMemoryUsage in interface MessageStoresetMemoryUsage in class AbstractMessageStorepublic void start() throws Exception
start in interface org.apache.activemq.Servicestart in class AbstractMessageStoreExceptionpublic void stop() throws Exception
stop in interface org.apache.activemq.Servicestop in class AbstractMessageStoreExceptionCopyright © 2005–2017 FuseSource, Corp.. All rights reserved.