org.jgroups.blocks

Class VotingAdapter.VoteResult

public static class VotingAdapter.VoteResult extends Object implements Serializable

This class represents the result of local voting. It contains a number of positive and negative votes collected during local voting.
Method Summary
voidaddVote(boolean vote)
intgetNegativeVotes()
intgetPositiveVotes()
StringtoString()

Method Detail

addVote

public void addVote(boolean vote)

getNegativeVotes

public int getNegativeVotes()

getPositiveVotes

public int getPositiveVotes()

toString

public String toString()
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.