|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosTransactions.TerminatorPOA
org.openorb.ots.Impl.Terminator
public class Terminator
This class is the terminator interface implementation.
Constructor Summary | |
---|---|
Terminator(org.omg.PortableServer.POA poa,
Coordinator coordinator,
org.apache.avalon.framework.logger.Logger logger)
Constructor |
Method Summary | |
---|---|
void |
commit(boolean report_heuristics)
If the transaction has not been marked rollback only, and all of the participants in the transaction agree to commit, the transaction is committed and the operation terminates normally. |
void |
disableRemove()
This operation is used to disable remove |
void |
enableRemove()
This operation is used to disable remove |
void |
proceed_commit_one_phase(Resource res)
This operation is used to apply a commit one phase only if one resource is registered. |
void |
proceed_commit(Resource[] resources,
org.omg.CORBA.BooleanHolder heuristicMixedHolder,
org.omg.CORBA.BooleanHolder heuristicHazardHolder)
This operation is used to apply the second phase of the 2 Phase Commit (2PC) protocol. |
void |
proceed_forget()
This operation is used to send a forget to all resources that previously sent an heuristic |
Vote |
proceed_prepare(Resource[] resources,
org.omg.CORBA.BooleanHolder heuristicMixedHolder,
org.omg.CORBA.BooleanHolder heuristicHazardHolder)
This operation applies the first phase of 2 Phase Commit (2PC) protocol. |
void |
proceed_rollback_after_prepare()
This operation is used to rollback a transaction after a prepare. |
void |
proceed_rollback()
This operation is used to rollback a transaction. |
void |
removeItself()
This operation is used to remove this object from POA |
void |
rollback()
The transaction is rolled back. |
void |
setTimeOutControl(TimeOutControl time)
This operation is used to set the time out control |
Methods inherited from class org.omg.CosTransactions.TerminatorPOA |
---|
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
---|
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Terminator(org.omg.PortableServer.POA poa, Coordinator coordinator, org.apache.avalon.framework.logger.Logger logger)
Method Detail |
---|
public void commit(boolean report_heuristics) throws HeuristicMixed, HeuristicHazard
HeuristicMixed
HeuristicHazard
public void rollback()
public void proceed_commit_one_phase(Resource res) throws HeuristicHazard
HeuristicHazard
public Vote proceed_prepare(Resource[] resources, org.omg.CORBA.BooleanHolder heuristicMixedHolder, org.omg.CORBA.BooleanHolder heuristicHazardHolder)
public void proceed_commit(Resource[] resources, org.omg.CORBA.BooleanHolder heuristicMixedHolder, org.omg.CORBA.BooleanHolder heuristicHazardHolder)
public void proceed_rollback_after_prepare()
public void proceed_rollback()
public void proceed_forget()
public void setTimeOutControl(TimeOutControl time)
public void removeItself()
public void disableRemove()
public void enableRemove()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |