Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.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.registerService(ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler)
Adds a new service, with an optional health check, to the local agent.
|
ConsulService |
ConsulService.registerService(ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler) |
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.registerService(ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler)
Adds a new service, with an optional health check, to the local agent.
|
ConsulService |
ConsulService.registerService(ServiceOptions serviceOptions,
Handler<AsyncResult<Void>> resultHandler) |
Completable |
ConsulClient.rxRegisterService(ServiceOptions serviceOptions)
Adds a new service, with an optional health check, to the local agent.
|
Completable |
ConsulService.rxRegisterService(ServiceOptions serviceOptions) |
Modifier and Type | Method and Description |
---|---|
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.rxRegisterService(ServiceOptions serviceOptions)
Adds a new service, with an optional health check, to the local agent.
|
Copyright © 2023 Eclipse. All rights reserved.