Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.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 |
---|---|
static Watch<ServiceList> |
Watch.services(Vertx vertx)
Creates
Watch to monitoring the list of available services. |
static Watch<ServiceList> |
Watch.services(Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring the list of available services. |
Modifier and Type | Method and Description |
---|---|
static void |
ServiceListConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
ServiceList obj) |
static void |
ServiceListConverter.toJson(ServiceList obj,
JsonObject json) |
static void |
ServiceListConverter.toJson(ServiceList obj,
Map<String,Object> json) |
Constructor and Description |
---|
ServiceList(ServiceList other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
Single<ServiceList> |
ConsulClient.rxCatalogNodeServices(String node)
Returns the node's registered services
|
Single<ServiceList> |
ConsulClient.rxCatalogNodeServicesWithOptions(String node,
BlockingQueryOptions options)
Returns the node's registered services
This is blocking query unlike
ConsulClient.catalogNodeServices(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceList>>) |
Single<ServiceList> |
ConsulClient.rxCatalogServiceNodes(String service)
Returns the nodes providing a service
|
Single<ServiceList> |
ConsulClient.rxCatalogServiceNodesWithOptions(String service,
ServiceQueryOptions options)
Returns the nodes providing a service
|
Single<ServiceList> |
ConsulClient.rxCatalogServices()
Returns the services registered in a datacenter
|
Single<ServiceList> |
ConsulClient.rxCatalogServicesWithOptions(BlockingQueryOptions options)
Returns the services registered in a datacenter
This is blocking query unlike
ConsulClient.catalogServices(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceList>>) |
static Watch<ServiceList> |
Watch.services(Vertx vertx)
Creates
Watch to monitoring the list of available services. |
static Watch<ServiceList> |
Watch.services(Vertx vertx,
ConsulClientOptions options)
Creates
Watch to monitoring the list of available services. |
Copyright © 2023 Eclipse. All rights reserved.