Class ShardResponse


  • public final class ShardResponse
    extends java.lang.Object
    • Method Detail

      • shardResponse

        public static ShardResponse shardResponse​(ShardPosition shardPosition,
                                                  java.time.Duration durationBehind,
                                                  com.google.common.collect.ImmutableList<TextMessage> messages)
      • getShardName

        public java.lang.String getShardName()
      • getDurationBehind

        public java.time.Duration getDurationBehind()
      • getMessages

        public com.google.common.collect.ImmutableList<TextMessage> getMessages()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object