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 |
---|---|
ServiceOptions |
ServiceOptions.setAddress(String address)
Set service address
|
ServiceOptions |
ServiceOptions.setCheckListOptions(List<CheckOptions> checkListOptions)
Set checks options of service
|
ServiceOptions |
ServiceOptions.setCheckOptions(CheckOptions checkOptions)
Set check options of service
|
ServiceOptions |
ServiceOptions.setId(String id)
Set the ID of session
|
ServiceOptions |
ServiceOptions.setMeta(Map<String,String> meta)
Specifies arbitrary KV metadata linked to the service instance.
|
ServiceOptions |
ServiceOptions.setName(String name)
Set service name
|
ServiceOptions |
ServiceOptions.setPort(int port)
Set service port
|
ServiceOptions |
ServiceOptions.setTags(List<String> tags)
Set list of tags associated with service
|
Modifier and Type | Method and Description |
---|---|
static void |
ServiceOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
ServiceOptions obj) |
ConsulClient |
ConsulClient.registerCatalogService(Node nodeOptions,
ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler)
Register node with external service
|
Future<Void> |
ConsulClient.registerService(ServiceOptions serviceOptions)
Like
ConsulClient.registerService(ServiceOptions, Handler) but returns a Future of the asynchronous result. |
ConsulClient |
ConsulClient.registerService(ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler)
Adds a new service, with an optional health check, to the local agent.
|
static void |
ServiceOptionsConverter.toJson(ServiceOptions obj,
JsonObject json) |
static void |
ServiceOptionsConverter.toJson(ServiceOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
ServiceOptions(ServiceOptions options)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.registerCatalogService(Node nodeOptions,
ServiceOptions serviceOptions)
Register node with external service
|
ConsulClient |
ConsulClient.registerCatalogService(Node nodeOptions,
ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler)
Register node with external service
|
ConsulClient |
ConsulClient.registerService(ServiceOptions serviceOptions)
Adds a new service, with an optional health check, to the local agent.
|
ConsulClient |
ConsulClient.registerService(ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler)
Adds a new service, with an optional health check, to the local agent.
|
Completable |
ConsulClient.rxRegisterCatalogService(Node nodeOptions,
ServiceOptions serviceOptions)
Register node with external service
|
Completable |
ConsulClient.rxRegisterService(ServiceOptions serviceOptions)
Adds a new service, with an optional health check, to the local agent.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.registerCatalogService(Node nodeOptions,
ServiceOptions serviceOptions)
Register node with external service
|
ConsulClient |
ConsulClient.registerCatalogService(Node nodeOptions,
ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler)
Register node with external service
|
ConsulClient |
ConsulClient.registerService(ServiceOptions serviceOptions)
Adds a new service, with an optional health check, to the local agent.
|
ConsulClient |
ConsulClient.registerService(ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler)
Adds a new service, with an optional health check, to the local agent.
|
Single<Void> |
ConsulClient.rxRegisterCatalogService(Node nodeOptions,
ServiceOptions serviceOptions)
Register node with external service
|
Single<Void> |
ConsulClient.rxRegisterService(ServiceOptions serviceOptions)
Adds a new service, with an optional health check, to the local agent.
|
Modifier and Type | Method and Description |
---|---|
Completable |
ConsulClient.registerCatalogService(Node nodeOptions,
ServiceOptions serviceOptions)
Register node with external service
|
Completable |
ConsulClient.registerService(ServiceOptions serviceOptions)
Adds a new service, with an optional health check, to the local agent.
|
Completable |
ConsulClient.rxRegisterCatalogService(Node nodeOptions,
ServiceOptions serviceOptions)
Register node with external service
|
Completable |
ConsulClient.rxRegisterService(ServiceOptions serviceOptions)
Adds a new service, with an optional health check, to the local agent.
|
Copyright © 2022 Eclipse. All rights reserved.