Class TwoPhaseVotingAdapter.TwoPhaseVoteWrapper
java.lang.Object
org.jgroups.blocks.TwoPhaseVotingAdapter.TwoPhaseVoteWrapper
- All Implemented Interfaces:
VotingListener
- Enclosing class:
TwoPhaseVotingAdapter
public static class TwoPhaseVotingAdapter.TwoPhaseVoteWrapper
extends Object
implements VotingListener
- Version:
- $Id: TwoPhaseVotingAdapter.java,v 1.4 2005/06/08 15:56:54 publicnmi Exp $
- Author:
- Roman Rokytskyy (rrokytskyy@acm.org), Robert Schaffar-Taurok (robert@fusion.at)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TwoPhaseVoteWrapper
-
-
Method Details
-
vote
Description copied from interface:VotingListenerEach member is able to vote withtrueorfalsemessages. If the member does not know what to do with thedecreeit should throwVoteException. Doing this he will be excluded from voting process and will not influence the result.- Specified by:
votein interfaceVotingListener- Parameters:
decree- object representing the decree of current voting.- Throws:
VoteException- if listener does not know the meaning of the decree and wants to be excluded from this voting.
-
hashCode
-
equals
-