Package io.etcd.jetcd

Class KeyValue

java.lang.Object
io.etcd.jetcd.KeyValue

public class KeyValue extends Object
Etcd key value pair.
  • Constructor Details

    • KeyValue

      public KeyValue(io.etcd.jetcd.api.KeyValue kv, ByteSequence namespace)
  • Method Details

    • getKey

      public ByteSequence getKey()
      Returns the key
      Returns:
      the key.
    • getValue

      public ByteSequence getValue()
      Returns the value
      Returns:
      the value.
    • getCreateRevision

      public long getCreateRevision()
      Returns the create revision.
      Returns:
      the create revision.
    • getModRevision

      public long getModRevision()
      Returns the mod revision.
      Returns:
      the mod revision.
    • getVersion

      public long getVersion()
      Returns the version.
      Returns:
      the version.
    • getLease

      public long getLease()
      Returns the lease.
      Returns:
      the lease.