Class LeaderResponse

  • All Implemented Interfaces:
    Response

    public class LeaderResponse
    extends AbstractResponse<io.etcd.jetcd.api.LeaderResponse>
    • Constructor Detail

      • LeaderResponse

        public LeaderResponse​(io.etcd.jetcd.api.LeaderResponse response,
                              ByteSequence namespace)
    • Method Detail

      • getKv

        public KeyValue getKv()
        Returns the key-value pair representing the latest leader update.