Class GetResponse

  • All Implemented Interfaces:
    Response

    public class GetResponse
    extends AbstractResponse<io.etcd.jetcd.api.RangeResponse>
    • Constructor Summary

      Constructors 
      Constructor Description
      GetResponse​(io.etcd.jetcd.api.RangeResponse rangeResponse, ByteSequence namespace)  
    • Constructor Detail

      • GetResponse

        public GetResponse​(io.etcd.jetcd.api.RangeResponse rangeResponse,
                           ByteSequence namespace)
    • Method Detail

      • getKvs

        public java.util.List<KeyValue> getKvs()
        Returns a list of key-value pairs matched by the range request.
      • isMore

        public boolean isMore()
        Returns if there are more keys to return in the requested range.
      • getCount

        public long getCount()
        Returns the number of keys within the range when requested.