public class DetailedTransactionInfo extends TransactionInfo
Modifier and Type | Class and Description |
---|---|
static class |
DetailedTransactionInfo.ConsumerMessage
This class represents a Message that is about to be consumed on commit.
|
static class |
DetailedTransactionInfo.ProducerMessage
This class represents a Message that is about to be produced on commit.
|
static class |
DetailedTransactionInfo.XAMessage
Internal class extended by ConsumerMessage and ProducerMessage.
|
TRANSACTION_ACTIVE, TRANSACTION_ENDSUCCESS, TRANSACTION_PREPARED, TRANSACTION_ROLLBACKONLY, TRANSACTION_SUSPENDED, TRANSACTION_UNKNOWN
Modifier and Type | Method and Description |
---|---|
DetailedTransactionInfo.ConsumerMessage[] |
getConsumerMessages()
Get the list of messages that are about to be consumed on commit of this
transaction.
|
DetailedTransactionInfo.ProducerMessage[] |
getProducerMessages()
Get the list of messages that are about to be produced on commit of this
transaction.
|
int |
getRemainingTime()
Get the remaining time before this transaction times out.
|
boolean |
hasTimeout()
Returns whether or not this transaction has a timeout associated with it.
|
from, getBranchQualifier, getFormatId, getGlobalTransactionId, getState, toString
public DetailedTransactionInfo.ProducerMessage[] getProducerMessages()
public DetailedTransactionInfo.ConsumerMessage[] getConsumerMessages()
public int getRemainingTime()
public boolean hasTimeout()
Copyright © Cloud Software Group, Inc. All rights reserved