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 Reapable
public 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
Unavailable
NoTransaction
SystemException
public final void rollback_only() throws Unavailable, NoTransaction, Inactive, SystemException
public final RecoveryCoordinator register_resource(Resource r) throws Inactive, SystemException
Inactive
SystemException
public final void register_subtran_aware(SubtransactionAwareResource sr) throws Inactive, NotSubtransaction, SystemException
Inactive
NotSubtransaction
SystemException
public final void register_synchronization(Synchronization sync) throws Inactive, SynchronizationUnavailable, SystemException
public final Status get_status() throws SystemException
SystemException
public final String get_transaction_name() throws SystemException
SystemException
public final Control get_control() throws Unavailable, SystemException
Unavailable
SystemException
public final Coordinator get_coordinator() throws SystemException, Unavailable
SystemException
Unavailable
public final Terminator get_terminator() throws SystemException, Unavailable
SystemException
Unavailable
public final int hash_transaction() throws SystemException
SystemException
public 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 © 2014 JBoss by Red Hat. All rights reserved.