Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.ext.consul |
Modifier and Type | Method and Description |
---|---|
Session |
Session.setChecks(List<String> checks)
Set the list of associated health checks
|
Session |
Session.setCreateIndex(long createIndex)
Set the create index of session
|
Session |
Session.setId(String id)
Set the ID of node
|
Session |
Session.setIndex(long index)
Set Consul index
|
Session |
Session.setLockDelay(long lockDelay)
Set the Lock delay of session
|
Session |
Session.setNode(String node)
Set the ID of node
|
Modifier and Type | Method and Description |
---|---|
List<Session> |
SessionList.getList()
Get list of sessions
|
Future<Session> |
ConsulClient.infoSession(String id)
Like
ConsulClient.infoSession(String, Handler) but returns a Future of the asynchronous result. |
Future<Session> |
ConsulClient.infoSessionWithOptions(String id,
BlockingQueryOptions options)
Like
ConsulClient.infoSessionWithOptions(String, BlockingQueryOptions, Handler) but returns a Future of the asynchronous result. |
Future<Session> |
ConsulClient.renewSession(String id)
Like
ConsulClient.renewSession(String, Handler) but returns a Future of the asynchronous result. |
Modifier and Type | Method and Description |
---|---|
static void |
SessionConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Session obj) |
static void |
SessionConverter.toJson(Session obj,
JsonObject json) |
static void |
SessionConverter.toJson(Session obj,
Map<String,Object> json) |
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.infoSession(String id,
Handler<AsyncResult<Session>> resultHandler)
Returns the requested session information
|
ConsulClient |
ConsulClient.infoSessionWithOptions(String id,
BlockingQueryOptions options,
Handler<AsyncResult<Session>> resultHandler)
Returns the requested session information
This is blocking query unlike
ConsulClient.infoSession(String, Handler) |
ConsulClient |
ConsulClient.renewSession(String id,
Handler<AsyncResult<Session>> resultHandler)
Renews the given session.
|
SessionList |
SessionList.setList(List<Session> list)
Set list of sessions
|
Constructor and Description |
---|
Session(Session other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
Single<Session> |
ConsulClient.rxInfoSession(String id)
Returns the requested session information
|
Single<Session> |
ConsulClient.rxInfoSessionWithOptions(String id,
BlockingQueryOptions options)
Returns the requested session information
This is blocking query unlike
ConsulClient.infoSession(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.Session>>) |
Single<Session> |
ConsulClient.rxRenewSession(String id)
Renews the given session.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.infoSession(String id,
Handler<AsyncResult<Session>> resultHandler)
Returns the requested session information
|
ConsulClient |
ConsulClient.infoSessionWithOptions(String id,
BlockingQueryOptions options,
Handler<AsyncResult<Session>> resultHandler)
Returns the requested session information
This is blocking query unlike
ConsulClient.infoSession(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.Session>>) |
ConsulClient |
ConsulClient.renewSession(String id,
Handler<AsyncResult<Session>> resultHandler)
Renews the given session.
|
Modifier and Type | Method and Description |
---|---|
Single<Session> |
ConsulClient.rxInfoSession(String id)
Returns the requested session information
|
Single<Session> |
ConsulClient.rxInfoSessionWithOptions(String id,
BlockingQueryOptions options)
Returns the requested session information
This is blocking query unlike
ConsulClient.infoSession(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.Session>>) |
Single<Session> |
ConsulClient.rxRenewSession(String id)
Renews the given session.
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.infoSession(String id,
Handler<AsyncResult<Session>> resultHandler)
Returns the requested session information
|
ConsulClient |
ConsulClient.infoSessionWithOptions(String id,
BlockingQueryOptions options,
Handler<AsyncResult<Session>> resultHandler)
Returns the requested session information
This is blocking query unlike
ConsulClient.infoSession(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.Session>>) |
ConsulClient |
ConsulClient.renewSession(String id,
Handler<AsyncResult<Session>> resultHandler)
Renews the given session.
|
Copyright © 2021 Eclipse. All rights reserved.