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) 2001,2002 www.jgroups.com . All Rights Reserved.