public class TransactionFactoryImple extends ArjunaFactoryPOA
Constructor and Description |
---|
TransactionFactoryImple() |
TransactionFactoryImple(String name) |
Modifier and Type | Method and Description |
---|---|
static Control |
create_subtransaction(Control control,
ArjunaTransactionImple parent)
Non-idl methods, but we put them here because they are related to the
work the factory does.
|
Control |
create(int time_out)
Assume that a value of 0 at the client means the same at the server!
|
ControlImple |
createLocal(int time_out)
This creates a local instance of a transaction control, but does not
register it with the ORB.
|
static Control |
createPropagatedControl(Coordinator coord) |
static Control |
createProxy(Coordinator coordinator,
Terminator terminator) |
static Control |
createProxy(Coordinator coordinator,
Terminator terminator,
Control parentControl) |
otid_t[] |
getChildTransactions(otid_t parent) |
Status |
getCurrentStatus(otid_t txid) |
Status |
getCurrentStatus(Uid u) |
GlobalTransactionInfo |
getGlobalInfo() |
Status |
getOSStatus(Uid u) |
TransactionFactory |
getReference() |
Status |
getStatus(otid_t txid) |
Status |
getStatus(Uid u) |
Control |
getTransaction(otid_t txid) |
Control |
getTransaction(Uid u) |
TransactionInfo |
getTransactionInfo(otid_t txid) |
TransactionInfo |
getTransactionInfo(Uid u) |
otid_t[] |
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.
|
Control |
recreate(PropagationContext ctx) |
ControlImple |
recreateLocal(PropagationContext ctx)
In Arjuna we can do low-cost nested aborts at clients which do not
involve telling servers.
|
_all_interfaces, _invoke, _this, _this
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
public TransactionFactoryImple()
public TransactionFactoryImple(String name)
public final TransactionFactory getReference()
public Control create(int time_out) throws SystemException
SystemException
public ControlImple createLocal(int time_out) throws SystemException
SystemException
public ControlImple recreateLocal(PropagationContext ctx) throws SystemException
SystemException
public Control recreate(PropagationContext ctx) throws SystemException
SystemException
public static Control create_subtransaction(Control control, ArjunaTransactionImple parent)
public static Control createProxy(Coordinator coordinator, Terminator terminator)
public static Control createProxy(Coordinator coordinator, Terminator terminator, Control parentControl)
public static Control createPropagatedControl(Coordinator coord)
public otid_t[] numberOfTransactions(TransactionType t) throws Inactive, NoTransaction, SystemException
the
- type of transaction (active, unresolved) to get data on.Inactive
NoTransaction
SystemException
public otid_t[] getChildTransactions(otid_t parent) throws Inactive, NoTransaction, SystemException
Inactive
NoTransaction
SystemException
public Status getCurrentStatus(otid_t txid) throws SystemException
SystemException
public Status getCurrentStatus(Uid u) throws SystemException
SystemException
public Status getStatus(otid_t txid) throws NoTransaction, SystemException
NoTransaction
SystemException
public Status getStatus(Uid u) throws NoTransaction, SystemException
NoTransaction
SystemException
public Status getOSStatus(Uid u) throws NoTransaction, SystemException
NoTransaction
SystemException
public GlobalTransactionInfo getGlobalInfo() throws SystemException
SystemException
public TransactionInfo getTransactionInfo(otid_t txid) throws NoTransaction, SystemException
NoTransaction
SystemException
public TransactionInfo getTransactionInfo(Uid u) throws NoTransaction, SystemException
NoTransaction
SystemException
public Control getTransaction(otid_t txid) throws NoTransaction, SystemException
NoTransaction
SystemException
public Control getTransaction(Uid u) throws NoTransaction, SystemException
NoTransaction
SystemException
Copyright © 2021 JBoss by Red Hat. All rights reserved.