Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.ext.consul |
Modifier and Type | Method and Description |
---|---|
CheckOptions |
ServiceOptions.getCheckOptions()
Get check options of service
|
CheckOptions |
CheckOptions.setDeregisterAfter(String deregisterAfter)
Set deregister timeout.
|
CheckOptions |
CheckOptions.setGrpc(String grpc)
Specifies a gRPC check's endpoint that supports the standard
gRPC health checking protocol.
|
CheckOptions |
CheckOptions.setGrpcTls(boolean grpcTls)
Specifies whether to use TLS for this gRPC health check.
|
CheckOptions |
CheckOptions.setHeaders(Map<String,List<String>> header)
Set headers to check
|
CheckOptions |
CheckOptions.setHttp(String http)
Set HTTP address to check.
|
CheckOptions |
CheckOptions.setId(String id)
Set check ID
|
CheckOptions |
CheckOptions.setInterval(String interval)
Set checking interval
|
CheckOptions |
CheckOptions.setName(String name)
Set check name.
|
CheckOptions |
CheckOptions.setNotes(String notes)
Set check notes
|
CheckOptions |
CheckOptions.setScriptArgs(List<String> scriptArgs)
Set scriptArgs.
|
CheckOptions |
CheckOptions.setServiceId(String serviceId)
Set the service ID to associate the registered check with an existing service provided by the agent.
|
CheckOptions |
CheckOptions.setStatus(CheckStatus status)
Set the check status to specify the initial state of the health check.
|
CheckOptions |
CheckOptions.setTcp(String tcp)
Set TCP address to check.
|
CheckOptions |
CheckOptions.setTlsSkipVerify(boolean tlsSkipVerify)
Specifies if the certificate for an HTTPS check should not be verified.
|
CheckOptions |
CheckOptions.setTtl(String ttl)
Set Time to Live of check.
|
Modifier and Type | Method and Description |
---|---|
List<CheckOptions> |
ServiceOptions.getCheckListOptions()
Get checks options of service
|
Modifier and Type | Method and Description |
---|---|
static void |
CheckOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
CheckOptions obj) |
Future<Void> |
ConsulClient.registerCheck(CheckOptions checkOptions)
Like
ConsulClient.registerCheck(CheckOptions, Handler) but returns a Future of the asynchronous result. |
ConsulClient |
ConsulClient.registerCheck(CheckOptions checkOptions,
Handler<AsyncResult<Void>> resultHandler)
Add a new check to the local agent.
|
ServiceOptions |
ServiceOptions.setCheckOptions(CheckOptions checkOptions)
Set check options of service
|
static void |
CheckOptionsConverter.toJson(CheckOptions obj,
JsonObject json) |
static void |
CheckOptionsConverter.toJson(CheckOptions obj,
Map<String,Object> json) |
Modifier and Type | Method and Description |
---|---|
ServiceOptions |
ServiceOptions.setCheckListOptions(List<CheckOptions> checkListOptions)
Set checks options of service
|
Constructor and Description |
---|
CheckOptions(CheckOptions options)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.registerCheck(CheckOptions checkOptions)
Add a new check to the local agent.
|
ConsulClient |
ConsulClient.registerCheck(CheckOptions checkOptions,
Handler<AsyncResult<Void>> resultHandler)
Add a new check to the local agent.
|
Completable |
ConsulClient.rxRegisterCheck(CheckOptions checkOptions)
Add a new check to the local agent.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.registerCheck(CheckOptions checkOptions)
Add a new check to the local agent.
|
ConsulClient |
ConsulClient.registerCheck(CheckOptions checkOptions,
Handler<AsyncResult<Void>> resultHandler)
Add a new check to the local agent.
|
Single<Void> |
ConsulClient.rxRegisterCheck(CheckOptions checkOptions)
Add a new check to the local agent.
|
Copyright © 2021 Eclipse. All rights reserved.