Class State

    • Constructor Detail

      • State

        public State​(String pubAgentName,
                     String subAgentId,
                     long timestamp,
                     long offset,
                     int retries,
                     int maxRetries,
                     boolean editable)
    • Method Detail

      • getPubAgentName

        public String getPubAgentName()
      • getSubAgentId

        public String getSubAgentId()
      • getOffset

        public long getOffset()
      • getRetries

        public int getRetries()
      • getMaxRetries

        public int getMaxRetries()
      • getTimestamp

        public long getTimestamp()
      • isEditable

        public boolean isEditable()
      • equals

        public boolean equals​(Object o)
        Indicates whether some other State is "equal to" this one. Equality compares all members except the #timestamp.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object