| Package | Description |
|---|---|
| com.orbitz.consul | |
| com.orbitz.consul.model.kv |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<Value> |
KeyValueClient.getValue(String key)
Retrieves a
Value for a specific key
from the key/value store. |
com.google.common.base.Optional<Value> |
KeyValueClient.getValue(String key,
QueryOptions queryOptions)
Retrieves a
Value for a specific key
from the key/value store. |
List<Value> |
KeyValueClient.getValues(String key)
Retrieves a list of
Value objects for a specific key
from the key/value store. |
List<Value> |
KeyValueClient.getValues(String key,
QueryOptions queryOptions)
Retrieves a list of
Value objects for a specific key
from the key/value store. |
| Modifier and Type | Method and Description |
|---|---|
void |
KeyValueClient.getValue(String key,
QueryOptions queryOptions,
ConsulResponseCallback<com.google.common.base.Optional<Value>> callback)
Asynchronously retrieves a
Value for a specific key
from the key/value store. |
void |
KeyValueClient.getValues(String key,
QueryOptions queryOptions,
ConsulResponseCallback<List<Value>> callback)
Asynchronously retrieves a list of
Value objects for a specific key
from the key/value store. |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableValue
Immutable implementation of
Value. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableValue |
ImmutableValue.copyOf(Value instance)
Creates an immutable copy of a
Value value. |
ImmutableValue.Builder |
ImmutableValue.Builder.from(Value instance)
Fill a builder with attribute values from the provided
Value instance. |
Copyright © 2016. All rights reserved.