org.apache.activemq.store.kahadb
Class TempKahaDBStore.KahaDBMessageStore
java.lang.Object
org.apache.activemq.store.AbstractMessageStore
org.apache.activemq.store.kahadb.TempKahaDBStore.KahaDBMessageStore
- All Implemented Interfaces:
- org.apache.activemq.Service, MessageStore
- Enclosing class:
- TempKahaDBStore
public class TempKahaDBStore.KahaDBMessageStore
- extends AbstractMessageStore
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dest
protected KahaDestination dest
TempKahaDBStore.KahaDBMessageStore
public TempKahaDBStore.KahaDBMessageStore(org.apache.activemq.command.ActiveMQDestination destination)
getDestination
public org.apache.activemq.command.ActiveMQDestination getDestination()
- Specified by:
getDestination in interface MessageStore- Overrides:
getDestination in class AbstractMessageStore
addMessage
public void addMessage(ConnectionContext context,
org.apache.activemq.command.Message message)
throws IOException
- Throws:
IOException
removeMessage
public void removeMessage(ConnectionContext context,
org.apache.activemq.command.MessageAck ack)
throws IOException
- Throws:
IOException
removeAllMessages
public void removeAllMessages(ConnectionContext context)
throws IOException
- Throws:
IOException
getMessage
public org.apache.activemq.command.Message getMessage(org.apache.activemq.command.MessageId identity)
throws IOException
- Throws:
IOException
getMessageCount
public int getMessageCount()
throws IOException
- Throws:
IOException
recover
public void recover(MessageRecoveryListener listener)
throws Exception
- Throws:
Exception
recoverNextMessages
public void recoverNextMessages(int maxReturned,
MessageRecoveryListener listener)
throws Exception
- Throws:
Exception
resetBatching
public void resetBatching()
setBatch
public void setBatch(org.apache.activemq.command.MessageId identity)
throws IOException
- Specified by:
setBatch in interface MessageStore- Overrides:
setBatch in class AbstractMessageStore
- Throws:
IOException
setMemoryUsage
public void setMemoryUsage(MemoryUsage memoeyUSage)
- Specified by:
setMemoryUsage in interface MessageStore- Overrides:
setMemoryUsage in class AbstractMessageStore
start
public void start()
throws Exception
- Specified by:
start in interface org.apache.activemq.Service- Overrides:
start in class AbstractMessageStore
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface org.apache.activemq.Service- Overrides:
stop in class AbstractMessageStore
- Throws:
Exception
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.