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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VotingAdapter.VoteResult
public VotingAdapter.VoteResult()
addVote
public void addVote(boolean vote)
getPositiveVotes
public int getPositiveVotes()
getNegativeVotes
public int getNegativeVotes()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1998-2009 Bela Ban / Red Hat. All Rights Reserved.