Package org.jgroups.blocks
Class VotingAdapter.VoteResult
- java.lang.Object
-
- org.jgroups.blocks.VotingAdapter.VoteResult
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
VotingAdapter.FailureVoteResult
- Enclosing class:
- VotingAdapter
public static class VotingAdapter.VoteResult extends java.lang.Object implements java.io.Serializable
This class represents the result of local voting. It contains a number of positive and negative votes collected during local voting.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VoteResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVote(boolean vote)
int
getNegativeVotes()
int
getPositiveVotes()
java.lang.String
toString()
-