org.jgroups.blocks
Class VotingAdapter.VoteResult
java.lang.Object
org.jgroups.blocks.VotingAdapter.VoteResult
- VotingAdapter
- Serializable
public static class VotingAdapter.VoteResult
extends java.lang.Object
implements Serializable
This class represents the result of local voting. It contains a
number of positive and negative votes collected during local voting.
addVote
public void addVote(boolean vote)
getNegativeVotes
public int getNegativeVotes()
getPositiveVotes
public int getPositiveVotes()
toString
public String toString()
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.