Class Vote<T>
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.cluster.qourum.Vote<T>
-
- Direct Known Subclasses:
BooleanVote
public abstract class Vote<T> extends Object
the vote itself
-
-
Constructor Summary
Constructors Constructor Description Vote()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voiddecode(ActiveMQBuffer buff)abstract voidencode(ActiveMQBuffer buff)abstract TgetVote()return the voteMap<String,Object>getVoteMap()abstract booleanisRequestServerVote()
-
-
-
Method Detail
-
encode
public abstract void encode(ActiveMQBuffer buff)
-
decode
public abstract void decode(ActiveMQBuffer buff)
-
isRequestServerVote
public abstract boolean isRequestServerVote()
-
getVote
public abstract T getVote()
return the vote- Returns:
- the vote
-
-