| Package | Description |
|---|---|
| com.ibm.etcd.api | |
| com.ibm.etcd.client.utils |
| Modifier and Type | Method and Description |
|---|---|
KeyValue |
KeyValue.Builder.build() |
KeyValue |
KeyValue.Builder.buildPartial() |
static KeyValue |
KeyValue.getDefaultInstance() |
KeyValue |
KeyValue.getDefaultInstanceForType() |
KeyValue |
KeyValue.Builder.getDefaultInstanceForType() |
KeyValue |
Event.getKv()
kv holds the KeyValue for the event.
|
KeyValue |
Event.Builder.getKv()
kv holds the KeyValue for the event.
|
KeyValue |
EventOrBuilder.getKv()
kv holds the KeyValue for the event.
|
KeyValue |
RangeResponse.getKvs(int index)
kvs is the list of key-value pairs matched by the range request.
|
KeyValue |
RangeResponse.Builder.getKvs(int index)
kvs is the list of key-value pairs matched by the range request.
|
KeyValue |
RangeResponseOrBuilder.getKvs(int index)
kvs is the list of key-value pairs matched by the range request.
|
KeyValue |
PutResponse.getPrevKv()
if prev_kv is set in the request, the previous key-value pair will be returned.
|
KeyValue |
PutResponse.Builder.getPrevKv()
if prev_kv is set in the request, the previous key-value pair will be returned.
|
KeyValue |
Event.getPrevKv()
prev_kv holds the key-value pair before the event happens.
|
KeyValue |
Event.Builder.getPrevKv()
prev_kv holds the key-value pair before the event happens.
|
KeyValue |
EventOrBuilder.getPrevKv()
prev_kv holds the key-value pair before the event happens.
|
KeyValue |
PutResponseOrBuilder.getPrevKv()
if prev_kv is set in the request, the previous key-value pair will be returned.
|
KeyValue |
DeleteRangeResponse.getPrevKvs(int index)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
KeyValue |
DeleteRangeResponse.Builder.getPrevKvs(int index)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
KeyValue |
DeleteRangeResponseOrBuilder.getPrevKvs(int index)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
static KeyValue |
KeyValue.parseDelimitedFrom(InputStream input) |
static KeyValue |
KeyValue.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValue |
KeyValue.parseFrom(byte[] data) |
static KeyValue |
KeyValue.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValue |
KeyValue.parseFrom(ByteBuffer data) |
static KeyValue |
KeyValue.parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValue |
KeyValue.parseFrom(com.google.protobuf.ByteString data) |
static KeyValue |
KeyValue.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValue |
KeyValue.parseFrom(com.google.protobuf.CodedInputStream input) |
static KeyValue |
KeyValue.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValue |
KeyValue.parseFrom(InputStream input) |
static KeyValue |
KeyValue.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Modifier and Type | Method and Description |
|---|---|
List<KeyValue> |
RangeResponse.getKvsList()
kvs is the list of key-value pairs matched by the range request.
|
List<KeyValue> |
RangeResponse.Builder.getKvsList()
kvs is the list of key-value pairs matched by the range request.
|
List<KeyValue> |
RangeResponseOrBuilder.getKvsList()
kvs is the list of key-value pairs matched by the range request.
|
com.google.protobuf.Parser<KeyValue> |
KeyValue.getParserForType() |
List<KeyValue> |
DeleteRangeResponse.getPrevKvsList()
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
List<KeyValue> |
DeleteRangeResponse.Builder.getPrevKvsList()
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
List<KeyValue> |
DeleteRangeResponseOrBuilder.getPrevKvsList()
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
static com.google.protobuf.Parser<KeyValue> |
KeyValue.parser() |
| Modifier and Type | Method and Description |
|---|---|
RangeResponse.Builder |
RangeResponse.Builder.addKvs(int index,
KeyValue value)
kvs is the list of key-value pairs matched by the range request.
|
RangeResponse.Builder |
RangeResponse.Builder.addKvs(KeyValue value)
kvs is the list of key-value pairs matched by the range request.
|
DeleteRangeResponse.Builder |
DeleteRangeResponse.Builder.addPrevKvs(int index,
KeyValue value)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
DeleteRangeResponse.Builder |
DeleteRangeResponse.Builder.addPrevKvs(KeyValue value)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
KeyValue.Builder |
KeyValue.Builder.mergeFrom(KeyValue other) |
Event.Builder |
Event.Builder.mergeKv(KeyValue value)
kv holds the KeyValue for the event.
|
PutResponse.Builder |
PutResponse.Builder.mergePrevKv(KeyValue value)
if prev_kv is set in the request, the previous key-value pair will be returned.
|
Event.Builder |
Event.Builder.mergePrevKv(KeyValue value)
prev_kv holds the key-value pair before the event happens.
|
static KeyValue.Builder |
KeyValue.newBuilder(KeyValue prototype) |
Event.Builder |
Event.Builder.setKv(KeyValue value)
kv holds the KeyValue for the event.
|
RangeResponse.Builder |
RangeResponse.Builder.setKvs(int index,
KeyValue value)
kvs is the list of key-value pairs matched by the range request.
|
PutResponse.Builder |
PutResponse.Builder.setPrevKv(KeyValue value)
if prev_kv is set in the request, the previous key-value pair will be returned.
|
Event.Builder |
Event.Builder.setPrevKv(KeyValue value)
prev_kv holds the key-value pair before the event happens.
|
DeleteRangeResponse.Builder |
DeleteRangeResponse.Builder.setPrevKvs(int index,
KeyValue value)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
| Modifier and Type | Method and Description |
|---|---|
RangeResponse.Builder |
RangeResponse.Builder.addAllKvs(Iterable<? extends KeyValue> values)
kvs is the list of key-value pairs matched by the range request.
|
DeleteRangeResponse.Builder |
DeleteRangeResponse.Builder.addAllPrevKvs(Iterable<? extends KeyValue> values)
if prev_kv is set in the request, the previous key-value pairs will be returned.
|
| Modifier and Type | Method and Description |
|---|---|
KeyValue |
RangeCache.PutResult.existingOrNull() |
KeyValue |
RangeCache.get(com.google.protobuf.ByteString key) |
KeyValue |
RangeCache.getFirst() |
KeyValue |
RangeCache.getRemote(com.google.protobuf.ByteString key) |
protected KeyValue |
RangeCache.getRemote(com.google.protobuf.ByteString key,
boolean weak) |
KeyValue |
RangeCache.getRemoteWeak(com.google.protobuf.ByteString key) |
KeyValue |
RangeCache.PutResult.kv() |
protected static KeyValue |
RangeCache.kvOrNullIfDeleted(KeyValue fromCache) |
protected KeyValue |
RangeCache.offerDelete(com.google.protobuf.ByteString key,
long modRevision)
Assumed to not be called from watch/listener executor
|
protected KeyValue |
RangeCache.offerExpiry(com.google.protobuf.ByteString key)
Deprecated.
this method now has no effect
|
protected KeyValue |
RangeCache.offerUpdate(KeyValue keyValue,
boolean watchThread) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<KeyValue> |
RangeCache.iterator()
Iterator.remove() not supported on returned iterators |
Iterator<KeyValue> |
RangeCache.strongIterator()
Iterator whose contents is guaranteed to be sequentially consistent
with remote updates to the cached range.
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
EtcdLeaderElection.candId(KeyValue kv) |
void |
RangeCache.Listener.event(RangeCache.Listener.EventType type,
KeyValue keyValue) |
protected static boolean |
RangeCache.isDeleted(KeyValue kv) |
protected static KeyValue |
RangeCache.kvOrNullIfDeleted(KeyValue fromCache) |
protected void |
RangeCache.notifyListeners(RangeCache.Listener.EventType type,
KeyValue keyValue,
boolean inListenerExecutor) |
protected KeyValue |
RangeCache.offerUpdate(KeyValue keyValue,
boolean watchThread) |
| Modifier and Type | Method and Description |
|---|---|
void |
RangeCache.forEach(Consumer<? super KeyValue> action) |
| Constructor and Description |
|---|
PutResult(boolean success,
KeyValue kv) |
Copyright © 2023. All rights reserved.