Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.ext.consul |
Modifier and Type | Method and Description |
---|---|
Service |
ServiceEntry.getService()
Get service
|
Service |
Service.setAddress(String address)
Set service address
|
Service |
Service.setId(String id)
Set ID of service
|
Service |
Service.setMeta(Map<String,String> meta)
Specifies arbitrary KV metadata linked to the service instance.
|
Service |
Service.setName(String name)
Set service name
|
Service |
Service.setNode(String node)
Set node name
|
Service |
Service.setNodeAddress(String nodeAddress)
Set node address
|
Service |
Service.setPort(int port)
Set service port
|
Service |
Service.setTags(List<String> tags)
Set list of service tags
|
Modifier and Type | Method and Description |
---|---|
List<Service> |
ServiceList.getList()
Get list of services
|
Future<List<Service>> |
ConsulClient.localServices()
Like
ConsulClient.localServices(Handler) but returns a Future of the asynchronous result. |
Modifier and Type | Method and Description |
---|---|
ServiceEntry |
ServiceEntry.setService(Service service)
Set service
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.localServices(Handler<AsyncResult<List<Service>>> resultHandler)
Returns list of services registered with the local agent.
|
ServiceList |
ServiceList.setList(List<Service> list)
Set list of services
|
Constructor and Description |
---|
Service(Service other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
Single<List<Service>> |
ConsulClient.rxLocalServices()
Returns list of services registered with the local agent.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.localServices(Handler<AsyncResult<List<Service>>> resultHandler)
Returns list of services registered with the local agent.
|
Modifier and Type | Method and Description |
---|---|
Single<List<Service>> |
ConsulClient.rxLocalServices()
Returns list of services registered with the local agent.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.localServices(Handler<AsyncResult<List<Service>>> resultHandler)
Returns list of services registered with the local agent.
|
Copyright © 2021 Eclipse. All rights reserved.