org.jgroups.blocks
public interface TwoPhaseVotingListener
| Method Summary | |
|---|---|
| void | abort(Object decree)
This is unconditional abort of the previous voting on the decree. |
| boolean | commit(Object decree)
This is voting on the commiting the decree. |
| boolean | prepare(Object decree)
This is voting if the decree is acceptable to the party. |
Throws: VoteException if the listener ignores the abort.
Returns: true is the decree is commited.
Throws: VoteException if the decree type is unknown or listener does not want to vote on it.
Returns: true if the decree is acceptable.
Throws: VoteException if the decree type is unknown or listener does not want to vote on it.