Class Entry

java.lang.Object
io.airlift.discovery.store.Entry

@Immutable public class Entry extends Object
  • Constructor Details

    • Entry

      public Entry(byte[] key, byte[] value, Version version, long timestamp, Long maxAgeInMs)
  • Method Details

    • getKey

      public byte[] getKey()
    • getValue

      public byte[] getValue()
    • getVersion

      public Version getVersion()
    • getTimestamp

      public long getTimestamp()
    • getMaxAgeInMs

      public Long getMaxAgeInMs()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object