Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.ext.consul |
Modifier and Type | Method and Description |
---|---|
KeyValueList |
KeyValueList.setIndex(long index)
Set Consul index
|
KeyValueList |
KeyValueList.setList(List<KeyValue> list)
Set list of key/value pairs
|
Modifier and Type | Method and Description |
---|---|
Future<KeyValueList> |
ConsulClient.getValues(String keyPrefix)
Like
ConsulClient.getValues(String, Handler) but returns a Future of the asynchronous result. |
Future<KeyValueList> |
ConsulClient.getValuesWithOptions(String keyPrefix,
BlockingQueryOptions options)
Like
ConsulClient.getValuesWithOptions(String, BlockingQueryOptions, Handler) but returns a Future of the asynchronous result. |
static Watch<KeyValueList> |
Watch.keyPrefix(String keyPrefix,
Vertx vertx)
Creates
Watch to monitoring a prefix of keys in the KV store. |
static Watch<KeyValueList> |
Watch.keyPrefix(String keyPrefix,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring a prefix of keys in the KV store. |
Modifier and Type | Method and Description |
---|---|
static void |
KeyValueListConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
KeyValueList obj) |
static void |
KeyValueListConverter.toJson(KeyValueList obj,
JsonObject json) |
static void |
KeyValueListConverter.toJson(KeyValueList obj,
Map<String,Object> json) |
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.getValues(String keyPrefix,
Handler<AsyncResult<KeyValueList>> resultHandler)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getValuesWithOptions(String keyPrefix,
BlockingQueryOptions options,
Handler<AsyncResult<KeyValueList>> resultHandler)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
Constructor and Description |
---|
KeyValueList(KeyValueList other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
static Watch<KeyValueList> |
Watch.keyPrefix(String keyPrefix,
Vertx vertx)
Creates
Watch to monitoring a prefix of keys in the KV store. |
static Watch<KeyValueList> |
Watch.keyPrefix(String keyPrefix,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring a prefix of keys in the KV store. |
Single<KeyValueList> |
ConsulClient.rxGetValues(String keyPrefix)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
Single<KeyValueList> |
ConsulClient.rxGetValuesWithOptions(String keyPrefix,
BlockingQueryOptions options)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.getValues(String keyPrefix,
Handler<AsyncResult<KeyValueList>> resultHandler)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getValuesWithOptions(String keyPrefix,
BlockingQueryOptions options,
Handler<AsyncResult<KeyValueList>> resultHandler)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
Modifier and Type | Method and Description |
---|---|
static Watch<KeyValueList> |
Watch.keyPrefix(String keyPrefix,
Vertx vertx)
Creates
Watch to monitoring a prefix of keys in the KV store. |
static Watch<KeyValueList> |
Watch.keyPrefix(String keyPrefix,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring a prefix of keys in the KV store. |
Single<KeyValueList> |
ConsulClient.rxGetValues(String keyPrefix)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
Single<KeyValueList> |
ConsulClient.rxGetValuesWithOptions(String keyPrefix,
BlockingQueryOptions options)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.getValues(String keyPrefix,
Handler<AsyncResult<KeyValueList>> resultHandler)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getValuesWithOptions(String keyPrefix,
BlockingQueryOptions options,
Handler<AsyncResult<KeyValueList>> resultHandler)
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
Copyright © 2021 Eclipse. All rights reserved.