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 |
TxnServiceOperation.getServiceOptions()
Get the service
|
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.setCreateIndex(long createIndex)
Set the internal index value that represents when the entry was created.
|
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.setModifyIndex(long modifyIndex)
Set the last index that modified this key.
|
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 |
---|---|
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.
|
TxnServiceOperation |
TxnServiceOperation.setServiceOptions(ServiceOptions serviceOptions)
Set the service
|
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 © 2024 Eclipse. All rights reserved.