| Package | Description |
|---|---|
| io.etcd.jetcd | |
| io.etcd.jetcd.auth | |
| io.etcd.jetcd.lease | |
| io.etcd.jetcd.lock | |
| io.etcd.jetcd.op | |
| io.etcd.jetcd.options |
| Modifier and Type | Field and Description |
|---|---|
static ByteSequence |
Constants.NULL_KEY |
| Modifier and Type | Method and Description |
|---|---|
static ByteSequence |
ByteSequence.from(byte[] source) |
static ByteSequence |
ByteSequence.from(com.google.protobuf.ByteString source) |
static ByteSequence |
ByteSequence.from(String source,
Charset charset)
Create new ByteSequence from a String.
|
ByteSequence |
KeyValue.getKey() |
ByteSequence |
KeyValue.getValue() |
ByteSequence |
ClientBuilder.password() |
ByteSequence |
ClientBuilder.user() |
| Modifier and Type | Method and Description |
|---|---|
ByteSequence |
Permission.getKey() |
ByteSequence |
Permission.getRangeEnd() |
| Constructor and Description |
|---|
Permission(Permission.Type permType,
ByteSequence key,
ByteSequence rangeEnd) |
| Modifier and Type | Method and Description |
|---|---|
List<ByteSequence> |
LeaseTimeToLiveResponse.getKeys()
Keys is the list of keys attached to this lease.
|
| Modifier and Type | Method and Description |
|---|---|
ByteSequence |
LockResponse.getKey()
key is a key that will exist on etcd for the duration that the Lock caller
owns the lock.
|
| Modifier and Type | Method and Description |
|---|---|
static Op.DeleteOp |
Op.delete(ByteSequence key,
DeleteOption option) |
static Op.GetOp |
Op.get(ByteSequence key,
GetOption option) |
static Op.PutOp |
Op.put(ByteSequence key,
ByteSequence value,
PutOption option) |
static io.etcd.jetcd.op.CmpTarget.ValueCmpTarget |
CmpTarget.value(ByteSequence value)
Cmp on the value.
|
| Constructor and Description |
|---|
Cmp(ByteSequence key,
Cmp.Op compareOp,
CmpTarget<?> target) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ByteSequence> |
WatchOption.getEndKey() |
Optional<ByteSequence> |
GetOption.getEndKey() |
Optional<ByteSequence> |
DeleteOption.getEndKey() |
| Modifier and Type | Method and Description |
|---|---|
WatchOption.Builder |
WatchOption.Builder.withPrefix(ByteSequence prefix)
Enables watch all the keys with matching prefix.
|
GetOption.Builder |
GetOption.Builder.withPrefix(ByteSequence prefix)
Enables 'Get' requests to obtain all the keys with matching prefix.
|
DeleteOption.Builder |
DeleteOption.Builder.withPrefix(ByteSequence prefix)
Enables 'Delete' requests to delete all the keys with matching prefix.
|
WatchOption.Builder |
WatchOption.Builder.withRange(ByteSequence endKey)
Set the end key of the get request.
|
GetOption.Builder |
GetOption.Builder.withRange(ByteSequence endKey)
Set the end key of the get request.
|
DeleteOption.Builder |
DeleteOption.Builder.withRange(ByteSequence endKey)
Set the end key of the delete request.
|
Copyright © 2019. All rights reserved.