| Package | Description |
|---|---|
| io.vertx.ext.consul | |
| io.vertx.reactivex.ext.consul | |
| io.vertx.rxjava.ext.consul |
| Modifier and Type | Method and Description |
|---|---|
ServiceEntryList |
ServiceEntryList.setIndex(long index)
Set Consul index, a unique identifier representing the current state of the requested list of services
|
ServiceEntryList |
ServiceEntryList.setList(List<ServiceEntry> list)
Set list of services
|
| Modifier and Type | Method and Description |
|---|---|
Future<ServiceEntryList> |
ConsulClient.healthServiceNodes(String service,
boolean passing)
Like
ConsulClient.healthServiceNodes(String, boolean, Handler) but returns a Future of the asynchronous result. |
Future<ServiceEntryList> |
ConsulClient.healthServiceNodesWithOptions(String service,
boolean passing,
ServiceQueryOptions options)
Like
ConsulClient.healthServiceNodesWithOptions(String, boolean, ServiceQueryOptions, Handler) but returns a Future of the asynchronous result. |
static Watch<ServiceEntryList> |
Watch.service(String service,
Vertx vertx)
Creates
Watch to monitoring the nodes providing the service. |
static Watch<ServiceEntryList> |
Watch.service(String service,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring the nodes providing the service. |
| Modifier and Type | Method and Description |
|---|---|
static void |
ServiceEntryListConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
ServiceEntryList obj) |
static void |
ServiceEntryListConverter.toJson(ServiceEntryList obj,
JsonObject json) |
static void |
ServiceEntryListConverter.toJson(ServiceEntryList obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
ConsulClient |
ConsulClient.healthServiceNodes(String service,
boolean passing,
Handler<AsyncResult<ServiceEntryList>> resultHandler)
Returns the nodes providing the service.
|
ConsulClient |
ConsulClient.healthServiceNodesWithOptions(String service,
boolean passing,
ServiceQueryOptions options,
Handler<AsyncResult<ServiceEntryList>> resultHandler)
Returns the nodes providing the service.
|
| Constructor and Description |
|---|
ServiceEntryList(ServiceEntryList other)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Single<ServiceEntryList> |
ConsulClient.rxHealthServiceNodes(String service,
boolean passing)
Returns the nodes providing the service.
|
Single<ServiceEntryList> |
ConsulClient.rxHealthServiceNodesWithOptions(String service,
boolean passing,
ServiceQueryOptions options)
Returns the nodes providing the service.
|
static Watch<ServiceEntryList> |
Watch.service(String service,
Vertx vertx)
Creates
Watch to monitoring the nodes providing the service. |
static Watch<ServiceEntryList> |
Watch.service(String service,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring the nodes providing the service. |
| Modifier and Type | Method and Description |
|---|---|
ConsulClient |
ConsulClient.healthServiceNodes(String service,
boolean passing,
Handler<AsyncResult<ServiceEntryList>> resultHandler)
Returns the nodes providing the service.
|
ConsulClient |
ConsulClient.healthServiceNodesWithOptions(String service,
boolean passing,
ServiceQueryOptions options,
Handler<AsyncResult<ServiceEntryList>> resultHandler)
Returns the nodes providing the service.
|
| Modifier and Type | Method and Description |
|---|---|
Single<ServiceEntryList> |
ConsulClient.rxHealthServiceNodes(String service,
boolean passing)
Returns the nodes providing the service.
|
Single<ServiceEntryList> |
ConsulClient.rxHealthServiceNodesWithOptions(String service,
boolean passing,
ServiceQueryOptions options)
Returns the nodes providing the service.
|
static Watch<ServiceEntryList> |
Watch.service(String service,
Vertx vertx)
Creates
Watch to monitoring the nodes providing the service. |
static Watch<ServiceEntryList> |
Watch.service(String service,
Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring the nodes providing the service. |
| Modifier and Type | Method and Description |
|---|---|
ConsulClient |
ConsulClient.healthServiceNodes(String service,
boolean passing,
Handler<AsyncResult<ServiceEntryList>> resultHandler)
Returns the nodes providing the service.
|
ConsulClient |
ConsulClient.healthServiceNodesWithOptions(String service,
boolean passing,
ServiceQueryOptions options,
Handler<AsyncResult<ServiceEntryList>> resultHandler)
Returns the nodes providing the service.
|
Copyright © 2021 Eclipse. All rights reserved.