Class ConfigurationResponse

java.lang.Object
io.atomix.raft.protocol.AbstractRaftResponse
io.atomix.raft.protocol.ConfigurationResponse
All Implemented Interfaces:
RaftMessage, RaftResponse
Direct Known Subclasses:
ReconfigureResponse

public abstract class ConfigurationResponse extends AbstractRaftResponse
Server configuration response.
  • Field Details

    • index

      protected final long index
    • term

      protected final long term
    • timestamp

      protected final long timestamp
    • members

      protected final Collection<RaftMember> members
  • Constructor Details

  • Method Details

    • index

      public long index()
      Returns the response index.
      Returns:
      The response index.
    • term

      public long term()
      Returns the configuration term.
      Returns:
      The configuration term.
    • timestamp

      public long timestamp()
      Returns the response configuration time.
      Returns:
      The response time.
    • members

      public Collection<RaftMember> members()
      Returns the configuration members list.
      Returns:
      The configuration members list.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractRaftResponse
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class AbstractRaftResponse
    • toString

      public String toString()
      Overrides:
      toString in class AbstractRaftResponse