Modifier and Type | Method and Description |
---|---|
ControlWrapper |
ControlWrapper.create_subtransaction() |
RecoveryCoordinator |
ControlWrapper.register_resource(Resource r) |
void |
ControlWrapper.register_subtran_aware(SubtransactionAwareResource sr) |
void |
ControlWrapper.register_synchronization(Synchronization sync) |
void |
ControlWrapper.rollback_only() |
Modifier and Type | Method and Description |
---|---|
ControlWrapper |
ServerControlWrapper.create_subtransaction() |
Modifier and Type | Method and Description |
---|---|
otid_t[] |
TransactionFactoryImple.getChildTransactions(otid_t parent) |
otid_t[] |
TransactionFactoryImple.numberOfTransactions(TransactionType t)
Now methods to return the identities of the currently running
transactions, and those which have terminated but left entries in the
object store.
|
Modifier and Type | Method and Description |
---|---|
Control |
ArjunaTransactionImple.create_subtransaction() |
RecoveryCoordinator |
ArjunaTransactionImple.register_resource(Resource r)
Resources are only registered with the current transaction, whereas
subtransaction aware resources are registered with their parents when the
current transaction ends.
|
void |
ArjunaTransactionImple.register_subtran_aware(SubtransactionAwareResource r)
Do not propagate the resource to the parent.
|
void |
ArjunaTransactionImple.register_synchronization(Synchronization sync)
The spec states that a synchronization is registered with a single
top-level action only.
|
void |
ArjunaTransactionImple.rollback_only() |
Modifier and Type | Method and Description |
---|---|
void |
ServerTransaction.register_synchronization(Synchronization theSync)
Registering a synchronization with interposition is a bit complicated!
Synchronizations must be called prior to prepare; if no
interposed-synchronization is used then either synchronizations would be
registered locally (and then ignored by the commit protocol) or they
would need to be registered remotely, which would mean a cross-address
space call for each synchronization!
The first time a synchronization is registered locally, we register a
proxy back with the real coordinator.
|
Modifier and Type | Method and Description |
---|---|
Status |
StatusChecker.checkOriginalStatus(Uid transactionUid,
Uid itemUid,
boolean checkTheObjectStore)
Check the status of a transaction when the contact item uid is known.
|
static Status |
StatusChecker.get_current_status(Uid transactionUid,
Uid itemUid)
get the current status in the original process, given the uid of the contact
item (which is the uid of the process).
|
static Status |
StatusChecker.get_status(Uid transactionUid,
Uid itemUid)
get the status in the original process, given the uid of the contact
item (which is the uid of the process)
|
Modifier and Type | Method and Description |
---|---|
PropagationContext |
AtomicTransaction.get_txcontext() |
RecoveryCoordinator |
AtomicTransaction.registerResource(Resource r)
Register the specified resource with this transaction.
|
void |
AtomicTransaction.registerSubtranAware(SubtransactionAwareResource r)
Register the specified subtransaction aware resource with this
transaction.
|
void |
AtomicTransaction.registerSynchronization(Synchronization sync)
Register the specified synchronization with this transaction.
|
Modifier and Type | Field and Description |
---|---|
Inactive |
InactiveHolder.value |
Modifier and Type | Method and Description |
---|---|
static Inactive |
InactiveHelper.extract(Any any) |
static Inactive |
InactiveHelper.read(InputStream in) |
Modifier and Type | Method and Description |
---|---|
static void |
InactiveHelper.insert(Any any,
Inactive s) |
static void |
InactiveHelper.write(OutputStream out,
Inactive s) |
Constructor and Description |
---|
InactiveHolder(Inactive initialValue) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.