Modifier and Type | Method and Description |
---|---|
boolean |
PagingStore.page(Message message,
Transaction tx,
RouteContextList listCtx,
ReentrantReadWriteLock.ReadLock readLock)
Write message to page if we are paging.
|
void |
PageTransactionInfo.reloadUpdate(StorageManager storageManager,
PagingManager pagingManager,
Transaction tx,
int increment) |
void |
PageTransactionInfo.store(StorageManager storageManager,
PagingManager pagingManager,
Transaction tx) |
void |
PageTransactionInfo.storeUpdate(StorageManager storageManager,
PagingManager pagingManager,
Transaction tx) |
Modifier and Type | Method and Description |
---|---|
void |
PagedReferenceImpl.acknowledge(Transaction tx) |
void |
PagedReferenceImpl.acknowledge(Transaction tx,
AckReason reason,
ServerConsumer consumer) |
void |
PagedReferenceImpl.acknowledge(Transaction tx,
ServerConsumer consumer) |
void |
PageSubscription.ackTx(Transaction tx,
PagedReference position) |
void |
PageSubscriptionCounter.applyIncrementOnTX(Transaction tx,
long recordID,
int add,
long persistentSize) |
void |
PageSubscription.confirmPosition(Transaction tx,
PagePosition position) |
void |
PageSubscriptionCounter.delete(Transaction tx) |
void |
PageSubscriptionCounter.increment(Transaction tx,
int add,
long persistentSize) |
void |
PageSubscription.onPageModeCleared(Transaction tx) |
void |
PageSubscription.reloadPreparedACK(Transaction tx,
PagePosition position)
To be used to avoid a redelivery of a prepared ACK after load
|
Modifier and Type | Method and Description |
---|---|
void |
PageSubscriptionImpl.ackTx(Transaction tx,
PagedReference reference) |
void |
PageSubscriptionCounterImpl.applyIncrementOnTX(Transaction tx,
long recordID1,
int add,
long size)
This method will install the TXs
|
void |
PageSubscriptionImpl.confirmPosition(Transaction tx,
PagePosition position) |
void |
PageSubscriptionCounterImpl.delete(Transaction tx) |
void |
PageSubscriptionCounterImpl.increment(Transaction tx,
int add,
long size) |
void |
PageSubscriptionImpl.onPageModeCleared(Transaction tx) |
void |
PageSubscriptionImpl.reloadPreparedACK(Transaction tx,
PagePosition position) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.activemq.artemis.core.paging.impl.PageTransactionInfoImpl.UpdatePageTXOperation |
PageTransactionInfoImpl.internalUpdatePageManager(StorageManager storageManager,
PagingManager pagingManager,
Transaction tx,
int increment) |
boolean |
PagingStoreImpl.page(Message message,
Transaction tx,
RouteContextList listCtx,
ReentrantReadWriteLock.ReadLock managerLock) |
void |
PageTransactionInfoImpl.reloadUpdate(StorageManager storageManager,
PagingManager pagingManager,
Transaction tx,
int increment) |
void |
PageTransactionInfoImpl.store(StorageManager storageManager,
PagingManager pagingManager,
Transaction tx) |
void |
PageTransactionInfoImpl.storeUpdate(StorageManager storageManager,
PagingManager pagingManager,
Transaction tx) |
Modifier and Type | Method and Description |
---|---|
boolean |
StorageManager.addToPage(PagingStore store,
Message msg,
Transaction tx,
RouteContextList listCtx)
Write message to page if we are paging.
|
void |
StorageManager.confirmPendingLargeMessageTX(Transaction transaction,
long messageID,
long recordID)
Confirms that a large message was finished
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractJournalStorageManager.addToPage(PagingStore store,
Message msg,
Transaction tx,
RouteContextList listCtx) |
void |
TXLargeMessageConfirmationOperation.afterRollback(Transaction tx) |
void |
AbstractJournalStorageManager.confirmPendingLargeMessageTX(Transaction tx,
long messageID,
long recordID) |
Modifier and Type | Method and Description |
---|---|
void |
FinishPageMessageOperation.afterCommit(Transaction tx) |
void |
FinishPageMessageOperation.afterRollback(Transaction tx) |
Modifier and Type | Method and Description |
---|---|
boolean |
NullStorageManager.addToPage(PagingStore store,
Message msg,
Transaction tx,
RouteContextList listCtx) |
void |
NullStorageManager.confirmPendingLargeMessageTX(Transaction transaction,
long messageID,
long recordID) |
Modifier and Type | Method and Description |
---|---|
void |
DuplicateIDCache.addToCache(byte[] duplicateID,
Transaction tx) |
void |
DuplicateIDCache.addToCache(byte[] duplicateID,
Transaction tx,
boolean instantAdd)
it will add the data to the cache.
|
boolean |
DuplicateIDCache.atomicVerify(byte[] duplID,
Transaction tx) |
void |
DuplicateIDCache.load(Transaction tx,
byte[] duplID) |
Pair<RoutingContext,Message> |
PostOffice.redistribute(Message message,
Queue originatingQueue,
Transaction tx) |
MessageReference |
PostOffice.reload(Message message,
Queue queue,
Transaction tx) |
Binding |
AddressManager.removeBinding(SimpleString uniqueName,
Transaction tx)
This will use a Transaction as we need to confirm the queue was removed
|
Binding |
PostOffice.removeBinding(SimpleString uniqueName,
Transaction tx,
boolean deleteData) |
default MessageReference |
PostOffice.reroute(Message message,
Queue queue,
Transaction tx)
Deprecated.
|
RoutingStatus |
PostOffice.route(Message message,
Transaction tx,
boolean direct) |
RoutingStatus |
PostOffice.route(Message message,
Transaction tx,
boolean direct,
boolean rejectDuplicates) |
RoutingStatus |
PostOffice.route(Message message,
Transaction tx,
boolean direct,
boolean rejectDuplicates,
Binding binding) |
Modifier and Type | Method and Description |
---|---|
void |
DuplicateIDCacheImpl.addToCache(byte[] duplID,
Transaction tx) |
void |
DuplicateIDCacheImpl.addToCache(byte[] duplID,
Transaction tx,
boolean instantAdd) |
void |
PostOfficeImpl.AddOperation.afterCommit(Transaction tx) |
void |
PostOfficeImpl.AddOperation.afterPrepare(Transaction tx) |
void |
PostOfficeImpl.AddOperation.afterRollback(Transaction tx) |
boolean |
DuplicateIDCacheImpl.atomicVerify(byte[] duplID,
Transaction tx) |
void |
PostOfficeImpl.AddOperation.beforeCommit(Transaction tx) |
void |
PostOfficeImpl.AddOperation.beforePrepare(Transaction tx) |
void |
PostOfficeImpl.AddOperation.beforeRollback(Transaction tx) |
void |
DuplicateIDCacheImpl.load(Transaction tx,
byte[] duplID) |
Pair<RoutingContext,Message> |
PostOfficeImpl.redistribute(Message message,
Queue originatingQueue,
Transaction tx)
The redistribution can't process the route right away as we may be dealing with a large message which will need to be processed on a different thread
|
MessageReference |
PostOfficeImpl.reload(Message message,
Queue queue,
Transaction tx) |
Binding |
SimpleAddressManager.removeBinding(SimpleString uniqueName,
Transaction tx) |
Binding |
WildcardAddressManager.removeBinding(SimpleString uniqueName,
Transaction tx)
If the address is a wild card then the binding will be removed from the actual mappings for any linked address.
|
Binding |
PostOfficeImpl.removeBinding(SimpleString uniqueName,
Transaction tx,
boolean deleteData) |
RoutingStatus |
PostOfficeImpl.route(Message message,
Transaction tx,
boolean direct) |
RoutingStatus |
PostOfficeImpl.route(Message message,
Transaction tx,
boolean direct,
boolean rejectDuplicates) |
RoutingStatus |
PostOfficeImpl.route(Message message,
Transaction tx,
boolean direct,
boolean rejectDuplicates,
Binding binding) |
Modifier and Type | Method and Description |
---|---|
Transaction |
ServerSession.getCurrentTransaction() |
Transaction |
RoutingContext.getTransaction() |
Transaction |
ServerSession.newTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
MessageReference.acknowledge(Transaction tx) |
void |
MessageReference.acknowledge(Transaction tx,
AckReason reason,
ServerConsumer consumer) |
List<Long> |
ServerConsumer.acknowledge(Transaction tx,
long messageID) |
void |
Queue.acknowledge(Transaction tx,
MessageReference ref) |
void |
Queue.acknowledge(Transaction tx,
MessageReference ref,
AckReason reason,
ServerConsumer consumer) |
void |
MessageReference.acknowledge(Transaction tx,
ServerConsumer consumer) |
void |
Queue.cancel(Transaction tx,
MessageReference ref) |
void |
Queue.cancel(Transaction tx,
MessageReference ref,
boolean ignoreRedeliveryCheck) |
List<MessageReference> |
ServerConsumer.cancelRefs(boolean failed,
boolean lastConsumedAsDelivered,
Transaction tx) |
RoutingStatus |
ServerSession.doSend(Transaction tx,
Message msg,
SimpleString originalAddress,
boolean direct,
boolean noAutoCreateQueue) |
RoutingStatus |
ServerSession.doSend(Transaction tx,
Message msg,
SimpleString originalAddress,
boolean direct,
boolean noAutoCreateQueue,
RoutingContext routingContext) |
void |
ServerConsumer.individualAcknowledge(Transaction tx,
long messageID) |
void |
Queue.reacknowledge(Transaction tx,
MessageReference ref) |
MessageReference |
ScheduledDeliveryHandler.removeReferenceWithID(long id,
Transaction tx) |
void |
ServerSession.resetTX(Transaction transaction)
To be used by protocol heads that needs to control the transaction outside the session context.
|
RoutingStatus |
ServerSession.send(Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue) |
RoutingStatus |
ServerSession.send(Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue,
RoutingContext routingContext) |
boolean |
Queue.sendToDeadLetterAddress(Transaction tx,
MessageReference ref) |
void |
RoutingContext.setTransaction(Transaction transaction) |
Modifier and Type | Method and Description |
---|---|
void |
FederatedAddress.beforeRemoveBinding(SimpleString uniqueName,
Transaction tx,
boolean deleteData) |
Modifier and Type | Field and Description |
---|---|
protected Transaction |
ServerSessionImpl.pendingTX
This will store the Transaction between xaEnd and xaPrepare or xaCommit.
|
protected Transaction |
ServerSessionImpl.tx |
Modifier and Type | Method and Description |
---|---|
Transaction |
ServerSessionImpl.getCurrentTransaction() |
Transaction |
RoutingContextImpl.getTransaction() |
Transaction |
ServerSessionImpl.newTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
GroupFirstMessageReference.acknowledge(Transaction tx) |
void |
MessageReferenceImpl.acknowledge(Transaction tx) |
void |
GroupFirstMessageReference.acknowledge(Transaction tx,
AckReason reason,
ServerConsumer consumer) |
void |
MessageReferenceImpl.acknowledge(Transaction tx,
AckReason reason,
ServerConsumer consumer) |
List<Long> |
ServerConsumerImpl.acknowledge(Transaction tx,
long messageID) |
void |
QueueImpl.acknowledge(Transaction tx,
MessageReference ref) |
void |
LastValueQueue.acknowledge(Transaction tx,
MessageReference ref,
AckReason reason,
ServerConsumer consumer) |
void |
QueueImpl.acknowledge(Transaction tx,
MessageReference ref,
AckReason reason,
ServerConsumer consumer) |
void |
GroupFirstMessageReference.acknowledge(Transaction tx,
ServerConsumer consumer) |
void |
MessageReferenceImpl.acknowledge(Transaction tx,
ServerConsumer consumer) |
void |
RefsOperation.afterCommit(Transaction tx) |
void |
RefsOperation.afterRollback(Transaction tx) |
void |
RefsOperation.afterRollback(Transaction tx,
boolean sorted) |
void |
QueueImpl.cancel(Transaction tx,
MessageReference reference) |
void |
QueueImpl.cancel(Transaction tx,
MessageReference reference,
boolean ignoreRedeliveryCheck) |
List<MessageReference> |
ServerConsumerImpl.cancelRefs(boolean failed,
boolean lastConsumedAsDelivered,
Transaction tx) |
RoutingStatus |
ServerSessionImpl.doSend(Transaction tx,
Message msg,
SimpleString originalAddress,
boolean direct,
boolean noAutoCreateQueue) |
RoutingStatus |
ServerSessionImpl.doSend(Transaction tx,
Message msg,
SimpleString originalAddress,
boolean direct,
boolean noAutoCreateQueue,
RoutingContext routingContext) |
void |
JournalLoader.handlePreparedSendMessage(Message message,
Transaction tx,
long queueID) |
void |
PostOfficeJournalLoader.handlePreparedSendMessage(Message message,
Transaction tx,
long queueID) |
void |
JournalLoader.handlePreparedTransaction(Transaction tx,
List<MessageReference> referencesToAck,
Xid xid,
ResourceManager resourceManager) |
void |
PostOfficeJournalLoader.handlePreparedTransaction(Transaction tx,
List<MessageReference> referencesToAck,
Xid xid,
ResourceManager resourceManager) |
void |
ServerConsumerImpl.individualAcknowledge(Transaction tx,
long messageID) |
void |
QueueImpl.reacknowledge(Transaction tx,
MessageReference ref) |
MessageReference |
ScheduledDeliveryHandlerImpl.removeReferenceWithID(long id,
Transaction tx) |
void |
ServerSessionImpl.resetTX(Transaction transaction)
Some protocols may chose to hold their transactions outside of the ServerSession.
|
protected void |
RefsOperation.rollbackRedelivery(Transaction tx,
MessageReference ref,
long timeBase,
Map<QueueImpl,LinkedList<MessageReference>> queueMap) |
RoutingStatus |
ServerSessionImpl.send(Transaction tx,
Message msg,
boolean direct,
boolean noAutoCreateQueue) |
RoutingStatus |
ServerSessionImpl.send(Transaction tx,
Message messageParameter,
boolean direct,
boolean noAutoCreateQueue,
RoutingContext routingContext) |
boolean |
QueueImpl.sendToDeadLetterAddress(Transaction tx,
MessageReference ref) |
void |
RoutingContextImpl.setTransaction(Transaction tx) |
Constructor and Description |
---|
RoutingContextImpl(Transaction transaction) |
RoutingContextImpl(Transaction transaction,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
default void |
ActiveMQServerResourcePlugin.afterPutTransaction(Xid xid,
Transaction tx,
RemotingConnection remotingConnection)
After a transaction is put
|
default void |
ActiveMQServerBindingPlugin.afterRemoveBinding(Binding binding,
Transaction tx,
boolean deleteData)
After a binding is removed
|
default void |
ActiveMQServerMessagePlugin.afterSend(ServerSession session,
Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue,
RoutingStatus result)
After a message is sent
|
default void |
ActiveMQServerMessagePlugin.afterSend(Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue,
RoutingStatus result)
|
default void |
ActiveMQServerResourcePlugin.beforePutTransaction(Xid xid,
Transaction tx,
RemotingConnection remotingConnection)
Before a transaction is put
|
default void |
ActiveMQServerBindingPlugin.beforeRemoveBinding(SimpleString uniqueName,
Transaction tx,
boolean deleteData)
Before a binding is removed
|
default void |
ActiveMQServerMessagePlugin.beforeSend(ServerSession session,
Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue)
Before a message is sent
|
default void |
ActiveMQServerMessagePlugin.beforeSend(Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue)
|
default void |
ActiveMQServerMessagePlugin.onSendException(ServerSession session,
Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue,
Exception e)
When there was an exception sending the message
|
Modifier and Type | Method and Description |
---|---|
void |
LoggingActiveMQServerPlugin.afterSend(ServerSession session,
Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue,
RoutingStatus result)
After a message is sent
|
void |
LoggingActiveMQServerPluginLogger.afterSendDetails(String messageID,
Message message,
String sessionName,
Transaction tx,
ServerSession session,
boolean direct,
boolean noAutoCreateQueue) |
void |
LoggingActiveMQServerPluginLogger_$logger.afterSendDetails(String messageID,
Message message,
String sessionName,
Transaction tx,
ServerSession session,
boolean direct,
boolean noAutoCreateQueue) |
void |
LoggingActiveMQServerPluginLogger.beforeSend(Message message,
Transaction tx,
ServerSession session,
boolean direct,
boolean noAutoCreateQueue) |
void |
LoggingActiveMQServerPluginLogger_$logger.beforeSend(Message message,
Transaction tx,
ServerSession session,
boolean direct,
boolean noAutoCreateQueue) |
void |
LoggingActiveMQServerPlugin.beforeSend(ServerSession session,
Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue)
Before a message is sent
|
void |
LoggingActiveMQServerPluginLogger.onSendErrorDetails(String messageID,
Message message,
String sessionName,
Transaction tx,
ServerSession session,
boolean direct,
boolean noAutoCreateQueue) |
void |
LoggingActiveMQServerPluginLogger_$logger.onSendErrorDetails(String messageID,
Message message,
String sessionName,
Transaction tx,
ServerSession session,
boolean direct,
boolean noAutoCreateQueue) |
void |
LoggingActiveMQServerPlugin.onSendException(ServerSession session,
Transaction tx,
Message message,
boolean direct,
boolean noAutoCreateQueue,
Exception e) |
Modifier and Type | Method and Description |
---|---|
Transaction |
ResourceManager.getTransaction(Xid xid) |
Transaction |
ResourceManager.removeTransaction(Xid xid,
RemotingConnection remotingConnection) |
Modifier and Type | Method and Description |
---|---|
void |
TransactionOperationAbstract.afterCommit(Transaction tx)
After commit shouldn't throw any exception.
|
void |
TransactionOperation.afterCommit(Transaction tx)
After commit shouldn't throw any exception.
|
void |
TransactionOperationAbstract.afterPrepare(Transaction tx)
After prepare shouldn't throw any exception.
|
void |
TransactionOperation.afterPrepare(Transaction tx)
After prepare shouldn't throw any exception.
|
void |
TransactionOperationAbstract.afterRollback(Transaction tx)
After rollback shouldn't throw any exception.
|
void |
TransactionOperation.afterRollback(Transaction tx)
After rollback shouldn't throw any exception.
|
default void |
TransactionOperation.afterRollback(Transaction tx,
boolean sorted) |
void |
TransactionOperationAbstract.beforeCommit(Transaction tx) |
void |
TransactionOperation.beforeCommit(Transaction tx) |
void |
TransactionOperationAbstract.beforePrepare(Transaction tx) |
void |
TransactionOperation.beforePrepare(Transaction tx) |
void |
TransactionOperationAbstract.beforeRollback(Transaction tx) |
void |
TransactionOperation.beforeRollback(Transaction tx) |
TransactionDetail |
TransactionDetailFactory.createTransactionDetail(Xid xid,
Transaction tx,
Long creation) |
boolean |
ResourceManager.putTransaction(Xid xid,
Transaction tx,
RemotingConnection remotingConnection) |
Constructor and Description |
---|
TransactionDetail(Xid xid,
Transaction tx,
Long creation) |
Modifier and Type | Class and Description |
---|---|
class |
BindingsTransactionImpl |
class |
TransactionImpl |
Modifier and Type | Method and Description |
---|---|
Transaction |
ResourceManagerImpl.getTransaction(Xid xid) |
Transaction |
ResourceManagerImpl.removeTransaction(Xid xid,
RemotingConnection remotingConnection) |
Modifier and Type | Method and Description |
---|---|
boolean |
ResourceManagerImpl.putTransaction(Xid xid,
Transaction tx,
RemotingConnection remotingConnection) |
Constructor and Description |
---|
CoreTransactionDetail(Xid xid,
Transaction tx,
Long creation) |
Constructor and Description |
---|
JMSTransactionDetail(Xid xid,
Transaction tx,
Long creation) |
Modifier and Type | Method and Description |
---|---|
default Transaction |
SessionCallback.getCurrentTransaction() |
Copyright © 2021 JBoss by Red Hat. All rights reserved.