Uses of Class
com.swiftmq.tools.concurrent.AsyncCompletionCallback
-
Packages that use AsyncCompletionCallback Package Description com.swiftmq.swiftlet.queue com.swiftmq.swiftlet.store com.swiftmq.tools.concurrent -
-
Uses of AsyncCompletionCallback in com.swiftmq.swiftlet.queue
Methods in com.swiftmq.swiftlet.queue with parameters of type AsyncCompletionCallback Modifier and Type Method Description voidAbstractQueue. acknowledgeMessage(java.lang.Object transactionId, MessageIndex messageIndex, AsyncCompletionCallback callback)Async acknowledges a message that was fetched within a pull transaction.voidQueuePullTransaction. acknowledgeMessage(MessageIndex messageIndex, AsyncCompletionCallback callback)Async acknowledge a single message of this transaction and returns its size as the result of the callback.voidAbstractQueue. acknowledgeMessages(java.lang.Object transactionId, java.util.List messageIndexList, AsyncCompletionCallback callback)Async acknowledges a list of messages that were fetched within a pull transaction.voidQueuePullTransaction. acknowledgeMessages(java.util.List messageIndexList, AsyncCompletionCallback callback)Async acknowledge a list of messages of this transaction and returns their size as the result of the callback.abstract voidAbstractQueue. commit(java.lang.Object transactionId, AsyncCompletionCallback callback)Asynchronously commits the transaction with the given transaction idvoidQueuePushTransaction. commit(AsyncCompletionCallback callback)Asynchronously commits the transaction and set the transaction state to closedabstract voidAbstractQueue. rollback(java.lang.Object transactionId, boolean setRedelivered, AsyncCompletionCallback callback)Asynchronously rolls back the transaction with the given transaction id.voidQueuePushTransaction. rollback(AsyncCompletionCallback callback)Asynchronous rollback of the transaction. -
Uses of AsyncCompletionCallback in com.swiftmq.swiftlet.store
Methods in com.swiftmq.swiftlet.store with parameters of type AsyncCompletionCallback Modifier and Type Method Description voidStoreTransaction. abort(AsyncCompletionCallback callback)Asynchronously aborts a local transaction.abstract voidCompositeStoreTransaction. abortTransaction(AsyncCompletionCallback callback)voidStoreTransaction. commit(AsyncCompletionCallback callback)Asynchronously commits a local transaction.abstract voidCompositeStoreTransaction. commitTransaction(AsyncCompletionCallback callback) -
Uses of AsyncCompletionCallback in com.swiftmq.tools.concurrent
Fields in com.swiftmq.tools.concurrent declared as AsyncCompletionCallback Modifier and Type Field Description protected AsyncCompletionCallbackAsyncCompletionCallback. nextMethods in com.swiftmq.tools.concurrent with parameters of type AsyncCompletionCallback Modifier and Type Method Description protected abstract voidCallbackJoin. callbackDone(AsyncCompletionCallback callback, boolean success, boolean last)voidCallbackJoin. done(AsyncCompletionCallback callback, boolean success)Constructors in com.swiftmq.tools.concurrent with parameters of type AsyncCompletionCallback Constructor Description AsyncCompletionCallback(AsyncCompletionCallback next)CallbackJoin(AsyncCompletionCallback next)
-