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 |
---|---|
Service |
ServiceEntry.getService()
Get service
|
Service |
Service.setAddress(String address)
Set service address
|
Service |
Service.setCreateIndex(long createIndex)
Set the internal index value that represents when the entry was created.
|
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.setModifyIndex(long modifyIndex)
Set the last index that modified this key.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Single<List<Service>> |
ConsulClient.localServices()
Returns list of services registered with the local agent.
|
Single<List<Service>> |
ConsulClient.rxLocalServices()
Returns list of services registered with the local agent.
|
Copyright © 2024 Eclipse. All rights reserved.