Package io.etcd.jetcd

Class KeyValue


  • public class KeyValue
    extends java.lang.Object
    Etcd key value pair.
    • Constructor Detail

      • KeyValue

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

      • getValue

        public ByteSequence getValue()
        Returns the value
      • getCreateRevision

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

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

        public long getVersion()
        Returns the version.
      • getLease

        public long getLease()
        Returns the lease.