Logo Search packages:      
Sourcecode: libjgroups-java version File versions

org::jgroups::blocks::VotingAdapter::VoteResult Class Reference

Inheritance diagram for org::jgroups::blocks::VotingAdapter::VoteResult:

org::jgroups::blocks::VotingAdapter::FailureVoteResult

List of all members.


Detailed Description

This class represents the result of local voting. It contains a number of positive and negative votes collected during local voting.

Definition at line 467 of file VotingAdapter.java.


Public Member Functions

void addVote (boolean vote)
int getNegativeVotes ()
int getPositiveVotes ()
String toString ()

Private Attributes

int negativeVotes = 0
int positiveVotes = 0

Static Private Attributes

static final long serialVersionUID = 2868605599965196746L

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index