Class VotingAdapter.VoteResult
java.lang.Object
org.jgroups.blocks.VotingAdapter.VoteResult
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
VotingAdapter.FailureVoteResult
- Enclosing class:
VotingAdapter
This class represents the result of local voting. It contains a
number of positive and negative votes collected during local voting.
- Version:
- $Id: VotingAdapter.java,v 1.10 2006/09/27 12:42:53 belaban Exp $
- Author:
- Roman Rokytskyy (rrokytskyy@acm.org), Robert Schaffar-Taurok (robert@fusion.at)
- See Also:
-
Constructor Details
-
VoteResult
public VoteResult()
-
-
Method Details
-
addVote
public void addVote(boolean vote) -
getPositiveVotes
public int getPositiveVotes() -
getNegativeVotes
public int getNegativeVotes() -
toString
-