public class ControlWrapper extends Object implements Reapable
| Constructor and Description |
|---|
ControlWrapper(Control c) |
ControlWrapper(Control c,
ControlImple impl) |
ControlWrapper(ControlImple impl) |
ControlWrapper(Control c,
Uid u) |
| Modifier and Type | Method and Description |
|---|---|
int |
cancel() |
void |
commit(boolean report_heuristics) |
ControlWrapper |
create_subtransaction() |
void |
determineLocality()
Determine whether or not we are a local control.
|
boolean |
equals(Object e)
Overrides Object.equals
Does not compare Uids because a foreign transaction may have been
imported more than once and given different local ids.
|
Control |
get_control() |
Coordinator |
get_coordinator() |
Status |
get_status() |
Terminator |
get_terminator() |
String |
get_transaction_name() |
Uid |
get_uid() |
Control |
getControl() |
ControlImple |
getImple() |
Map<Uid,String> |
getSynchronizations() |
int |
hash_transaction() |
int |
hashCode()
Override Object.hashCode.
|
boolean |
isLocal() |
boolean |
preventCommit() |
RecoveryCoordinator |
register_resource(Resource r) |
void |
register_subtran_aware(SubtransactionAwareResource sr) |
void |
register_synchronization(Synchronization sync) |
void |
rollback_only() |
void |
rollback() |
boolean |
running() |
String |
toString()
Override Object.toString.
|
public ControlWrapper(Control c)
public ControlWrapper(ControlImple impl)
public ControlWrapper(Control c, ControlImple impl)
public boolean preventCommit()
preventCommit in interface Reapablepublic ControlWrapper create_subtransaction() throws Unavailable, Inactive, SubtransactionsUnavailable, SystemException
public final void commit(boolean report_heuristics)
throws Unavailable,
HeuristicMixed,
HeuristicHazard,
SystemException
public final void rollback()
throws Unavailable,
NoTransaction,
SystemException
UnavailableNoTransactionSystemExceptionpublic final void rollback_only()
throws Unavailable,
NoTransaction,
Inactive,
SystemException
public final RecoveryCoordinator register_resource(Resource r) throws Inactive, SystemException
InactiveSystemExceptionpublic final void register_subtran_aware(SubtransactionAwareResource sr) throws Inactive, NotSubtransaction, SystemException
InactiveNotSubtransactionSystemExceptionpublic final void register_synchronization(Synchronization sync) throws Inactive, SynchronizationUnavailable, SystemException
public final Status get_status() throws SystemException
SystemExceptionpublic final String get_transaction_name() throws SystemException
SystemExceptionpublic final Control get_control() throws Unavailable, SystemException
UnavailableSystemExceptionpublic final Coordinator get_coordinator() throws SystemException, Unavailable
SystemExceptionUnavailablepublic final Terminator get_terminator() throws SystemException, Unavailable
SystemExceptionUnavailablepublic final int hash_transaction()
throws SystemException
SystemExceptionpublic boolean equals(Object e)
public String toString()
public int hashCode()
public final Control getControl()
public final ControlImple getImple()
public final boolean isLocal()
public final void determineLocality()
Copyright © 2013. All rights reserved.