| Package | Description |
|---|---|
| io.vertx.ext.consul |
| Modifier and Type | Method and Description |
|---|---|
ServiceList |
ServiceList.setIndex(long index)
Set Consul index, a unique identifier representing the current state of the requested list of services
|
ServiceList |
ServiceList.setList(List<Service> list)
Set list of services
|
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.Future<ServiceList> |
ConsulClient.catalogNodeServices(String node)
Like
ConsulClient.catalogNodeServices(String, Handler) but returns a Future of the asynchronous result. |
io.vertx.core.Future<ServiceList> |
ConsulClient.catalogNodeServicesWithOptions(String node,
BlockingQueryOptions options)
Like
ConsulClient.catalogNodeServicesWithOptions(String, BlockingQueryOptions, Handler) but returns a Future of the asynchronous result. |
io.vertx.core.Future<ServiceList> |
ConsulClient.catalogServiceNodes(String service)
Like
ConsulClient.catalogServiceNodes(String, Handler) but returns a Future of the asynchronous result. |
io.vertx.core.Future<ServiceList> |
ConsulClient.catalogServiceNodesWithOptions(String service,
ServiceQueryOptions options)
Like
ConsulClient.catalogServiceNodesWithOptions(String, ServiceQueryOptions, Handler) but returns a Future of the asynchronous result. |
io.vertx.core.Future<ServiceList> |
ConsulClient.catalogServices()
Like
ConsulClient.catalogServices(Handler) but returns a Future of the asynchronous result. |
io.vertx.core.Future<ServiceList> |
ConsulClient.catalogServicesWithOptions(BlockingQueryOptions options)
Like
ConsulClient.catalogServicesWithOptions(BlockingQueryOptions, Handler) but returns a Future of the asynchronous result. |
static Watch<ServiceList> |
Watch.services(io.vertx.core.Vertx vertx)
Creates
Watch to monitoring the list of available services. |
static Watch<ServiceList> |
Watch.services(io.vertx.core.Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring the list of available services. |
| Modifier and Type | Method and Description |
|---|---|
ConsulClient |
ConsulClient.catalogNodeServices(String node,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ServiceList>> resultHandler)
Returns the node's registered services
|
ConsulClient |
ConsulClient.catalogNodeServicesWithOptions(String node,
BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ServiceList>> resultHandler)
Returns the node's registered services
This is blocking query unlike
ConsulClient.catalogNodeServices(String, Handler) |
ConsulClient |
ConsulClient.catalogServiceNodes(String service,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ServiceList>> resultHandler)
Returns the nodes providing a service
|
ConsulClient |
ConsulClient.catalogServiceNodesWithOptions(String service,
ServiceQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ServiceList>> resultHandler)
Returns the nodes providing a service
|
ConsulClient |
ConsulClient.catalogServices(io.vertx.core.Handler<io.vertx.core.AsyncResult<ServiceList>> resultHandler)
Returns the services registered in a datacenter
|
ConsulClient |
ConsulClient.catalogServicesWithOptions(BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ServiceList>> resultHandler)
Returns the services registered in a datacenter
This is blocking query unlike
ConsulClient.catalogServices(Handler) |
| Constructor and Description |
|---|
ServiceList(ServiceList other)
Copy constructor
|
Copyright © 2024 Eclipse. All rights reserved.