public class Transactions<T extends Transactions<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Transactions.TransactionsResources
Child mutators for Transactions
|
Constructor and Description |
---|
Transactions() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Long |
averageCommitTime()
The average time of transaction commit, measured from the moment the
client calls commit until the transaction manager determines that the
commit attempt was successful.
|
T |
averageCommitTime(Long value)
The average time of transaction commit, measured from the moment the
client calls commit until the transaction manager determines that the
commit attempt was successful.
|
T |
commitMarkableResource(CommitMarkableResource value)
Add the CommitMarkableResource object to the list of subresources
|
T |
commitMarkableResource(CommitMarkableResourceSupplier supplier)
Install a supplied CommitMarkableResource object to the list of
subresources
|
T |
commitMarkableResource(String childKey)
Create and configure a CommitMarkableResource object to the list of
subresources
|
T |
commitMarkableResource(String childKey,
CommitMarkableResourceConsumer consumer)
Create and configure a CommitMarkableResource object to the list of
subresources
|
T |
commitMarkableResources(List<CommitMarkableResource> value)
Add all CommitMarkableResource objects to this subresource
|
Integer |
defaultTimeout()
The default timeout for a transaction managed by the transaction manager.
|
T |
defaultTimeout(Integer value)
The default timeout for a transaction managed by the transaction manager.
|
Boolean |
enableStatistics()
Deprecated.
Use statistics-enabled.
|
T |
enableStatistics(Boolean value)
Deprecated.
Use statistics-enabled.
|
Boolean |
enableTsmStatus()
Whether the transaction status manager (TSM) service, needed for out of
process recovery, should be provided or not.
|
T |
enableTsmStatus(Boolean value)
Whether the transaction status manager (TSM) service, needed for out of
process recovery, should be provided or not.
|
String |
getKey() |
Boolean |
hornetqStoreEnableAsyncIo()
Deprecated.
Use journal-store-enable-async-io
|
T |
hornetqStoreEnableAsyncIo(Boolean value)
Deprecated.
Use journal-store-enable-async-io
|
Boolean |
jdbcActionStoreDropTable()
Configure if jdbc action store should drop tables.
|
T |
jdbcActionStoreDropTable(Boolean value)
Configure if jdbc action store should drop tables.
|
String |
jdbcActionStoreTablePrefix()
Optional prefix for table used to write transaction logs in configured
jdbc action store.
|
T |
jdbcActionStoreTablePrefix(String value)
Optional prefix for table used to write transaction logs in configured
jdbc action store.
|
Boolean |
jdbcCommunicationStoreDropTable()
Configure if jdbc communication store should drop tables.
|
T |
jdbcCommunicationStoreDropTable(Boolean value)
Configure if jdbc communication store should drop tables.
|
String |
jdbcCommunicationStoreTablePrefix()
Optional prefix for table used to write transaction logs in configured
jdbc communication store.
|
T |
jdbcCommunicationStoreTablePrefix(String value)
Optional prefix for table used to write transaction logs in configured
jdbc communication store.
|
Boolean |
jdbcStateStoreDropTable()
Configure if jdbc state store should drop tables.
|
T |
jdbcStateStoreDropTable(Boolean value)
Configure if jdbc state store should drop tables.
|
String |
jdbcStateStoreTablePrefix()
Optional prefix for table used to write transaction logs in configured
jdbc state store.
|
T |
jdbcStateStoreTablePrefix(String value)
Optional prefix for table used to write transaction logs in configured
jdbc state store.
|
String |
jdbcStoreDatasource()
Jndi name of non-XA datasource used.
|
T |
jdbcStoreDatasource(String value)
Jndi name of non-XA datasource used.
|
Boolean |
journalStoreEnableAsyncIo()
Whether AsyncIO should be enabled for the journal store.
|
T |
journalStoreEnableAsyncIo(Boolean value)
Whether AsyncIO should be enabled for the journal store.
|
Boolean |
jts()
If true this enables the Java Transaction Service.
|
T |
jts(Boolean value)
If true this enables the Java Transaction Service.
|
T |
logStore()
Representation of the transaction logging storage mechanism.
|
T |
logStore(LogStore value)
Representation of the transaction logging storage mechanism.
|
T |
logStore(LogStoreConsumer consumer)
Representation of the transaction logging storage mechanism.
|
T |
logStore(LogStoreSupplier supplier)
Representation of the transaction logging storage mechanism.
|
Integer |
maximumTimeout()
If the default timeout is zero then this value is consulted to set the
maximum timeout (in seconds) for a transaction managed by the transaction
manager.
|
T |
maximumTimeout(Integer value)
If the default timeout is zero then this value is consulted to set the
maximum timeout (in seconds) for a transaction managed by the transaction
manager.
|
String |
nodeIdentifier()
Used to set the node identifier on the core environment.
|
T |
nodeIdentifier(String value)
Used to set the node identifier on the core environment.
|
Long |
numberOfAbortedTransactions()
The number of aborted (i.e.
|
T |
numberOfAbortedTransactions(Long value)
The number of aborted (i.e.
|
Long |
numberOfApplicationRollbacks()
The number of transactions that have been rolled back by application
request.
|
T |
numberOfApplicationRollbacks(Long value)
The number of transactions that have been rolled back by application
request.
|
Long |
numberOfCommittedTransactions()
The number of committed transactions.
|
T |
numberOfCommittedTransactions(Long value)
The number of committed transactions.
|
Long |
numberOfHeuristics()
The number of transactions which have terminated with heuristic outcomes.
|
T |
numberOfHeuristics(Long value)
The number of transactions which have terminated with heuristic outcomes.
|
Long |
numberOfInflightTransactions()
The number of transactions that have begun but not yet terminated.
|
T |
numberOfInflightTransactions(Long value)
The number of transactions that have begun but not yet terminated.
|
Long |
numberOfNestedTransactions()
The total number of nested (sub) transactions created.
|
T |
numberOfNestedTransactions(Long value)
The total number of nested (sub) transactions created.
|
Long |
numberOfResourceRollbacks()
The number of transactions that rolled back due to resource (participant)
failure.
|
T |
numberOfResourceRollbacks(Long value)
The number of transactions that rolled back due to resource (participant)
failure.
|
Long |
numberOfSystemRollbacks()
The number of transactions that have been rolled back due to internal
system errors.
|
T |
numberOfSystemRollbacks(Long value)
The number of transactions that have been rolled back due to internal
system errors.
|
Long |
numberOfTimedOutTransactions()
The number of transactions that have rolled back due to timeout.
|
T |
numberOfTimedOutTransactions(Long value)
The number of transactions that have rolled back due to timeout.
|
Long |
numberOfTransactions()
The total number of transactions (top-level and nested) created
|
T |
numberOfTransactions(Long value)
The total number of transactions (top-level and nested) created
|
String |
objectStorePath()
Denotes a relative or absolute filesystem path denoting where the
transaction manager object store should store data.
|
T |
objectStorePath(String value)
Denotes a relative or absolute filesystem path denoting where the
transaction manager object store should store data.
|
String |
objectStoreRelativeTo()
References a global path configuration in the domain model, defaulting to
the Application Server data directory (jboss.server.data.dir).
|
T |
objectStoreRelativeTo(String value)
References a global path configuration in the domain model, defaulting to
the Application Server data directory (jboss.server.data.dir).
|
String |
processIdSocketBinding()
The name of the socket binding configuration to use if the transaction
manager should use a socket-based process id.
|
T |
processIdSocketBinding(String value)
The name of the socket binding configuration to use if the transaction
manager should use a socket-based process id.
|
Integer |
processIdSocketMaxPorts()
The maximum number of ports to search for an open port if the transaction
manager should use a socket-based process id.
|
T |
processIdSocketMaxPorts(Integer value)
The maximum number of ports to search for an open port if the transaction
manager should use a socket-based process id.
|
Boolean |
processIdUuid()
Indicates whether the transaction manager should use a UUID based process
id.
|
T |
processIdUuid(Boolean value)
Indicates whether the transaction manager should use a UUID based process
id.
|
Boolean |
recoveryListener()
Used to specify if the recovery system should listen on a network socket
or not.
|
T |
recoveryListener(Boolean value)
Used to specify if the recovery system should listen on a network socket
or not.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
socketBinding()
Used to reference the correct socket binding to use for the recovery
environment.
|
T |
socketBinding(String value)
Used to reference the correct socket binding to use for the recovery
environment.
|
Boolean |
statisticsEnabled()
Whether transaction statistics should be gathered.
|
T |
statisticsEnabled(Boolean value)
Whether transaction statistics should be gathered.
|
String |
statusSocketBinding()
Used to reference the correct socket binding to use for the transaction
status manager.
|
T |
statusSocketBinding(String value)
Used to reference the correct socket binding to use for the transaction
status manager.
|
Transactions.TransactionsResources |
subresources() |
Boolean |
useHornetqStore()
Deprecated.
Use use-journal-store
|
T |
useHornetqStore(Boolean value)
Deprecated.
Use use-journal-store
|
Boolean |
useJdbcStore()
Use the jdbc store for writing transaction logs.
|
T |
useJdbcStore(Boolean value)
Use the jdbc store for writing transaction logs.
|
Boolean |
useJournalStore()
Use the journal store for writing transaction logs.
|
T |
useJournalStore(Boolean value)
Use the journal store for writing transaction logs.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Transactions.TransactionsResources subresources()
public T commitMarkableResources(List<CommitMarkableResource> value)
value
- List of CommitMarkableResource objects.public T commitMarkableResource(CommitMarkableResource value)
value
- The CommitMarkableResource to addpublic T commitMarkableResource(String childKey, CommitMarkableResourceConsumer consumer)
key
- The key for the CommitMarkableResource resourceconfig
- The CommitMarkableResourceConsumer to usepublic T commitMarkableResource(String childKey)
key
- The key for the CommitMarkableResource resourcepublic T commitMarkableResource(CommitMarkableResourceSupplier supplier)
public T logStore(LogStore value)
public T logStore(LogStoreConsumer consumer)
public T logStore()
public T logStore(LogStoreSupplier supplier)
public Long averageCommitTime()
public T averageCommitTime(Long value)
public Integer defaultTimeout()
public T defaultTimeout(Integer value)
@Deprecated public Boolean enableStatistics()
@Deprecated public T enableStatistics(Boolean value)
public Boolean enableTsmStatus()
public T enableTsmStatus(Boolean value)
@Deprecated public Boolean hornetqStoreEnableAsyncIo()
@Deprecated public T hornetqStoreEnableAsyncIo(Boolean value)
public Boolean jdbcActionStoreDropTable()
public T jdbcActionStoreDropTable(Boolean value)
public String jdbcActionStoreTablePrefix()
public T jdbcActionStoreTablePrefix(String value)
public Boolean jdbcCommunicationStoreDropTable()
public T jdbcCommunicationStoreDropTable(Boolean value)
public String jdbcCommunicationStoreTablePrefix()
public T jdbcCommunicationStoreTablePrefix(String value)
public Boolean jdbcStateStoreDropTable()
public T jdbcStateStoreDropTable(Boolean value)
public String jdbcStateStoreTablePrefix()
public T jdbcStateStoreTablePrefix(String value)
public String jdbcStoreDatasource()
public T jdbcStoreDatasource(String value)
public Boolean journalStoreEnableAsyncIo()
public T journalStoreEnableAsyncIo(Boolean value)
public Boolean jts()
public T jts(Boolean value)
public Integer maximumTimeout()
public T maximumTimeout(Integer value)
public String nodeIdentifier()
public T nodeIdentifier(String value)
public Long numberOfAbortedTransactions()
public T numberOfAbortedTransactions(Long value)
public Long numberOfApplicationRollbacks()
public T numberOfApplicationRollbacks(Long value)
public Long numberOfCommittedTransactions()
public T numberOfCommittedTransactions(Long value)
public Long numberOfHeuristics()
public T numberOfHeuristics(Long value)
public Long numberOfInflightTransactions()
public T numberOfInflightTransactions(Long value)
public Long numberOfNestedTransactions()
public T numberOfNestedTransactions(Long value)
public Long numberOfResourceRollbacks()
public T numberOfResourceRollbacks(Long value)
public Long numberOfSystemRollbacks()
public T numberOfSystemRollbacks(Long value)
public Long numberOfTimedOutTransactions()
public T numberOfTimedOutTransactions(Long value)
public Long numberOfTransactions()
public T numberOfTransactions(Long value)
public String objectStorePath()
public T objectStorePath(String value)
public String objectStoreRelativeTo()
public T objectStoreRelativeTo(String value)
public String processIdSocketBinding()
public T processIdSocketBinding(String value)
public Integer processIdSocketMaxPorts()
public T processIdSocketMaxPorts(Integer value)
public Boolean processIdUuid()
public T processIdUuid(Boolean value)
public Boolean recoveryListener()
public T recoveryListener(Boolean value)
public String socketBinding()
public T socketBinding(String value)
public Boolean statisticsEnabled()
public T statisticsEnabled(Boolean value)
public String statusSocketBinding()
public T statusSocketBinding(String value)
@Deprecated public Boolean useHornetqStore()
@Deprecated public T useHornetqStore(Boolean value)
public Boolean useJdbcStore()
public T useJdbcStore(Boolean value)
public Boolean useJournalStore()
public T useJournalStore(Boolean value)
Copyright © 2020 JBoss by Red Hat. All rights reserved.