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_objectpublic TransactionFactoryImple()
public TransactionFactoryImple(String name)
public final TransactionFactory getReference()
public Control create(int time_out) throws SystemException
SystemExceptionpublic ControlImple createLocal(int time_out) throws SystemException
SystemExceptionpublic ControlImple recreateLocal(PropagationContext ctx) throws SystemException
SystemExceptionpublic Control recreate(PropagationContext ctx) throws SystemException
SystemExceptionpublic 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.InactiveNoTransactionSystemExceptionpublic otid_t[] getChildTransactions(otid_t parent) throws Inactive, NoTransaction, SystemException
InactiveNoTransactionSystemExceptionpublic Status getCurrentStatus(otid_t txid) throws SystemException
SystemExceptionpublic Status getCurrentStatus(Uid u) throws SystemException
SystemExceptionpublic Status getStatus(otid_t txid) throws NoTransaction, SystemException
NoTransactionSystemExceptionpublic Status getStatus(Uid u) throws NoTransaction, SystemException
NoTransactionSystemExceptionpublic Status getOSStatus(Uid u) throws NoTransaction, SystemException
NoTransactionSystemExceptionpublic GlobalTransactionInfo getGlobalInfo() throws SystemException
SystemExceptionpublic TransactionInfo getTransactionInfo(otid_t txid) throws NoTransaction, SystemException
NoTransactionSystemExceptionpublic TransactionInfo getTransactionInfo(Uid u) throws NoTransaction, SystemException
NoTransactionSystemExceptionpublic Control getTransaction(otid_t txid) throws NoTransaction, SystemException
NoTransactionSystemExceptionpublic Control getTransaction(Uid u) throws NoTransaction, SystemException
NoTransactionSystemExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.