public class GetResponse extends AbstractResponse<io.etcd.jetcd.api.RangeResponse>
Response.Header| Constructor and Description |
|---|
GetResponse(io.etcd.jetcd.api.RangeResponse rangeResponse) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
return the number of keys within the range when requested.
|
List<KeyValue> |
getKvs()
return a list of key-value pairs matched by the range request.
|
boolean |
isMore()
more indicates if there are more keys to return in the requested range.
|
getHeader, getResponse, getResponseHeader, toStringpublic List<KeyValue> getKvs()
public boolean isMore()
public long getCount()
Copyright © 2019. All rights reserved.