Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.ext.consul | |
io.vertx.rxjava3.ext.consul |
Modifier and Type | Method and Description |
---|---|
KeyValue |
KeyValue.setCreateIndex(long createIndex)
Set the internal index value that represents when the entry was created.
|
KeyValue |
KeyValue.setFlags(long flags)
Set the flags attached to this entry.
|
KeyValue |
KeyValue.setKey(String key)
Set the key
|
KeyValue |
KeyValue.setLockIndex(long lockIndex)
Set the number of times this key has successfully been acquired in a lock.
|
KeyValue |
KeyValue.setModifyIndex(long modifyIndex)
Set the last index that modified this key.
|
KeyValue |
KeyValue.setSession(String session)
Set the session that owns the lock
|
KeyValue |
KeyValue.setValue(String value)
Set the value
|
Modifier and Type | Method and Description |
---|---|
List<KeyValue> |
KeyValueList.getList()
Get list of key/value pairs
|
Future<KeyValue> |
ConsulClient.getValue(String key)
Like
ConsulClient.getValue(String, Handler) but returns a Future of the asynchronous result. |
Future<KeyValue> |
ConsulClient.getValueWithOptions(String key,
BlockingQueryOptions options)
Like
ConsulClient.getValueWithOptions(String, BlockingQueryOptions, Handler) but returns a Future of the asynchronous result. |
static Watch<KeyValue> |
Watch.key(String key,
Vertx vertx)
Creates
Watch to monitoring a specific key in the KV store. |
static Watch<KeyValue> |
Watch.key(String key,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring a specific key in the KV store. |
Modifier and Type | Method and Description |
---|---|
static void |
KeyValueConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
KeyValue obj) |
static void |
KeyValueConverter.toJson(KeyValue obj,
JsonObject json) |
static void |
KeyValueConverter.toJson(KeyValue obj,
Map<String,Object> json) |
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.getValue(String key,
Handler<AsyncResult<KeyValue>> resultHandler)
Returns key/value pair that corresponding to the specified key.
|
ConsulClient |
ConsulClient.getValueWithOptions(String key,
BlockingQueryOptions options,
Handler<AsyncResult<KeyValue>> resultHandler)
Returns key/value pair that corresponding to the specified key.
|
KeyValueList |
KeyValueList.setList(List<KeyValue> list)
Set list of key/value pairs
|
Constructor and Description |
---|
KeyValue(KeyValue other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
static Watch<KeyValue> |
Watch.key(String key,
Vertx vertx)
Creates
Watch to monitoring a specific key in the KV store. |
static Watch<KeyValue> |
Watch.key(String key,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring a specific key in the KV store. |
Single<KeyValue> |
ConsulClient.rxGetValue(String key)
Returns key/value pair that corresponding to the specified key.
|
Single<KeyValue> |
ConsulClient.rxGetValueWithOptions(String key,
BlockingQueryOptions options)
Returns key/value pair that corresponding to the specified key.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.getValue(String key,
Handler<AsyncResult<KeyValue>> resultHandler)
Returns key/value pair that corresponding to the specified key.
|
ConsulClient |
ConsulClient.getValueWithOptions(String key,
BlockingQueryOptions options,
Handler<AsyncResult<KeyValue>> resultHandler)
Returns key/value pair that corresponding to the specified key.
|
Modifier and Type | Method and Description |
---|---|
static Watch<KeyValue> |
Watch.key(String key,
Vertx vertx)
Creates
Watch to monitoring a specific key in the KV store. |
static Watch<KeyValue> |
Watch.key(String key,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring a specific key in the KV store. |
Single<KeyValue> |
ConsulClient.rxGetValue(String key)
Returns key/value pair that corresponding to the specified key.
|
Single<KeyValue> |
ConsulClient.rxGetValueWithOptions(String key,
BlockingQueryOptions options)
Returns key/value pair that corresponding to the specified key.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.getValue(String key,
Handler<AsyncResult<KeyValue>> resultHandler)
Returns key/value pair that corresponding to the specified key.
|
ConsulClient |
ConsulClient.getValueWithOptions(String key,
BlockingQueryOptions options,
Handler<AsyncResult<KeyValue>> resultHandler)
Returns key/value pair that corresponding to the specified key.
|
Modifier and Type | Method and Description |
---|---|
Single<KeyValue> |
ConsulClient.getValue(String key)
Returns key/value pair that corresponding to the specified key.
|
Single<KeyValue> |
ConsulClient.getValueWithOptions(String key,
BlockingQueryOptions options)
Returns key/value pair that corresponding to the specified key.
|
static Watch<KeyValue> |
Watch.key(String key,
Vertx vertx)
Creates
Watch to monitoring a specific key in the KV store. |
static Watch<KeyValue> |
Watch.key(String key,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring a specific key in the KV store. |
Single<KeyValue> |
ConsulClient.rxGetValue(String key)
Returns key/value pair that corresponding to the specified key.
|
Single<KeyValue> |
ConsulClient.rxGetValueWithOptions(String key,
BlockingQueryOptions options)
Returns key/value pair that corresponding to the specified key.
|
Copyright © 2022 Eclipse. All rights reserved.