java.lang.Object
org.apache.activemq.artemis.core.server.cluster.quorum.Vote<T>
Direct Known Subclasses:
BooleanVote

public abstract class Vote<T> extends Object
  • Constructor Details

    • Vote

      public Vote()
  • Method Details

    • getVoteMap

      public Map<String,Object> getVoteMap()
    • encode

      public abstract void encode(ActiveMQBuffer buff)
    • decode

      public abstract void decode(ActiveMQBuffer buff)
    • isRequestServerVote

      public abstract boolean isRequestServerVote()
      Whether we should ask the target server for an answer or decide ourselves, for instance if we couldn't connect to the node in the first place
    • getVote

      public abstract T getVote()