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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanack(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) voidvoidendRetry()booleanbooleanvoidpause()voidregisterMirror(AMQPMirrorControllerTarget mirrorTarget) 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) intsize()Map<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>>> voidstart()voidstop()voidunregisterMirror(AMQPMirrorControllerTarget mirrorTarget) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop
-
Constructor Details
-
AckManager
public AckManager(org.apache.activemq.artemis.core.server.ActiveMQServer server)
-
-
Method Details
-
size
public int size() -
reload
-
stop
public void stop()- Specified by:
stopin interfaceorg.apache.activemq.artemis.core.server.ActiveMQComponent
-
pause
public void pause() -
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() -
registerMirror
-
unregisterMirror
-
sortRetries
public Map<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)
-