Class AckManager
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.connect.mirror.AckManager
-
- All Implemented Interfaces:
org.apache.activemq.artemis.core.server.ActiveMQComponent
public class AckManager extends Object implements org.apache.activemq.artemis.core.server.ActiveMQComponent
-
-
Constructor Summary
Constructors Constructor Description AckManager(org.apache.activemq.artemis.core.server.ActiveMQServer server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanack(String nodeID, org.apache.activemq.artemis.core.server.Queue targetQueue, long messageID, org.apache.activemq.artemis.core.server.impl.AckReason reason, boolean allowRetry)voidaddRetry(String nodeID, org.apache.activemq.artemis.core.server.Queue queue, long messageID, org.apache.activemq.artemis.core.server.impl.AckReason reason)voidbeginRetry()voidendRetry()booleaninitRetry()booleanisStarted()voidreload(RecordInfo recordInfo)voidretryAddress(SimpleString address, io.netty.util.collection.LongObjectHashMap<JournalHashMap<org.apache.activemq.artemis.core.persistence.impl.journal.codec.AckRetry,org.apache.activemq.artemis.core.persistence.impl.journal.codec.AckRetry,org.apache.activemq.artemis.core.server.Queue>> acksToRetry)HashMap<SimpleString,io.netty.util.collection.LongObjectHashMap<JournalHashMap<org.apache.activemq.artemis.core.persistence.impl.journal.codec.AckRetry,org.apache.activemq.artemis.core.persistence.impl.journal.codec.AckRetry,org.apache.activemq.artemis.core.server.Queue>>>sortRetries()voidstart()voidstop()
-
-
-
Method Detail
-
reload
public void reload(RecordInfo recordInfo)
-
stop
public void stop()
- Specified by:
stopin interfaceorg.apache.activemq.artemis.core.server.ActiveMQComponent
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceorg.apache.activemq.artemis.core.server.ActiveMQComponent
-
start
public void start()
- Specified by:
startin interfaceorg.apache.activemq.artemis.core.server.ActiveMQComponent
-
beginRetry
public void beginRetry()
-
endRetry
public void endRetry()
-
initRetry
public boolean initRetry()
-
sortRetries
public HashMap<SimpleString,io.netty.util.collection.LongObjectHashMap<JournalHashMap<org.apache.activemq.artemis.core.persistence.impl.journal.codec.AckRetry,org.apache.activemq.artemis.core.persistence.impl.journal.codec.AckRetry,org.apache.activemq.artemis.core.server.Queue>>> sortRetries()
-
retryAddress
public void retryAddress(SimpleString address, io.netty.util.collection.LongObjectHashMap<JournalHashMap<org.apache.activemq.artemis.core.persistence.impl.journal.codec.AckRetry,org.apache.activemq.artemis.core.persistence.impl.journal.codec.AckRetry,org.apache.activemq.artemis.core.server.Queue>> acksToRetry)
-
addRetry
public void addRetry(String nodeID, org.apache.activemq.artemis.core.server.Queue queue, long messageID, org.apache.activemq.artemis.core.server.impl.AckReason reason)
-
ack
public boolean ack(String nodeID, org.apache.activemq.artemis.core.server.Queue targetQueue, long messageID, org.apache.activemq.artemis.core.server.impl.AckReason reason, boolean allowRetry)
-
-