Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.ext.consul |
Modifier and Type | Method and Description |
---|---|
SessionList |
SessionList.setIndex(long index)
Set Consul index, a unique identifier representing the current state of the requested list of sessions
|
SessionList |
SessionList.setList(List<Session> list)
Set list of sessions
|
Modifier and Type | Method and Description |
---|---|
Future<SessionList> |
ConsulClient.listNodeSessions(String nodeId)
Like
ConsulClient.listNodeSessions(String, Handler) but returns a Future of the asynchronous result. |
Future<SessionList> |
ConsulClient.listNodeSessionsWithOptions(String nodeId,
BlockingQueryOptions options)
Like
ConsulClient.listNodeSessionsWithOptions(String, BlockingQueryOptions, Handler) but returns a Future of the asynchronous result. |
Future<SessionList> |
ConsulClient.listSessions()
Like
ConsulClient.listSessions(Handler) but returns a Future of the asynchronous result. |
Future<SessionList> |
ConsulClient.listSessionsWithOptions(BlockingQueryOptions options)
Like
ConsulClient.listSessionsWithOptions(BlockingQueryOptions, Handler) but returns a Future of the asynchronous result. |
Modifier and Type | Method and Description |
---|---|
static void |
SessionListConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
SessionList obj) |
static void |
SessionListConverter.toJson(SessionList obj,
JsonObject json) |
static void |
SessionListConverter.toJson(SessionList obj,
Map<String,Object> json) |
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.listNodeSessions(String nodeId,
Handler<AsyncResult<SessionList>> resultHandler)
Returns the active sessions for a given node
|
ConsulClient |
ConsulClient.listNodeSessionsWithOptions(String nodeId,
BlockingQueryOptions options,
Handler<AsyncResult<SessionList>> resultHandler)
Returns the active sessions for a given node
This is blocking query unlike
ConsulClient.listNodeSessions(String, Handler) |
ConsulClient |
ConsulClient.listSessions(Handler<AsyncResult<SessionList>> resultHandler)
Returns the active sessions
|
ConsulClient |
ConsulClient.listSessionsWithOptions(BlockingQueryOptions options,
Handler<AsyncResult<SessionList>> resultHandler)
Returns the active sessions
This is blocking query unlike
ConsulClient.listSessions(Handler) |
Constructor and Description |
---|
SessionList(SessionList other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
Single<SessionList> |
ConsulClient.rxListNodeSessions(String nodeId)
Returns the active sessions for a given node
|
Single<SessionList> |
ConsulClient.rxListNodeSessionsWithOptions(String nodeId,
BlockingQueryOptions options)
Returns the active sessions for a given node
This is blocking query unlike
ConsulClient.listNodeSessions(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.SessionList>>) |
Single<SessionList> |
ConsulClient.rxListSessions()
Returns the active sessions
|
Single<SessionList> |
ConsulClient.rxListSessionsWithOptions(BlockingQueryOptions options)
Returns the active sessions
This is blocking query unlike
ConsulClient.listSessions(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.SessionList>>) |
Modifier and Type | Method and Description |
---|---|
Single<SessionList> |
ConsulClient.rxListNodeSessions(String nodeId)
Returns the active sessions for a given node
|
Single<SessionList> |
ConsulClient.rxListNodeSessionsWithOptions(String nodeId,
BlockingQueryOptions options)
Returns the active sessions for a given node
This is blocking query unlike
ConsulClient.listNodeSessions(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.SessionList>>) |
Single<SessionList> |
ConsulClient.rxListSessions()
Returns the active sessions
|
Single<SessionList> |
ConsulClient.rxListSessionsWithOptions(BlockingQueryOptions options)
Returns the active sessions
This is blocking query unlike
ConsulClient.listSessions(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.SessionList>>) |
Copyright © 2021 Eclipse. All rights reserved.