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 |
---|---|
SessionOptions |
SessionOptions.setBehavior(SessionBehavior behavior)
Set the behavior when a session is invalidated.
|
SessionOptions |
SessionOptions.setChecks(List<String> checks)
Set a list of associated health checks.
|
SessionOptions |
SessionOptions.setLockDelay(long lockDelay)
Set the lock-delay period.
|
SessionOptions |
SessionOptions.setName(String name)
Set the human-readable name for the Session
|
SessionOptions |
SessionOptions.setNode(String node)
Set the node to which the session will be assigned
|
SessionOptions |
SessionOptions.setTtl(long ttl)
Set the TTL interval.
|
Modifier and Type | Method and Description |
---|---|
Future<String> |
ConsulClient.createSessionWithOptions(SessionOptions options)
Like
ConsulClient.createSessionWithOptions(SessionOptions, Handler) but returns a Future of the asynchronous result. |
ConsulClient |
ConsulClient.createSessionWithOptions(SessionOptions options,
Handler<AsyncResult<String>> idHandler)
Initialize a new session
|
Constructor and Description |
---|
SessionOptions(SessionOptions options)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.createSessionWithOptions(SessionOptions options)
Initialize a new session
|
ConsulClient |
ConsulClient.createSessionWithOptions(SessionOptions options,
Handler<AsyncResult<String>> idHandler)
Initialize a new session
|
Single<String> |
ConsulClient.rxCreateSessionWithOptions(SessionOptions options)
Initialize a new session
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.createSessionWithOptions(SessionOptions options)
Initialize a new session
|
ConsulClient |
ConsulClient.createSessionWithOptions(SessionOptions options,
Handler<AsyncResult<String>> idHandler)
Initialize a new session
|
Single<String> |
ConsulClient.rxCreateSessionWithOptions(SessionOptions options)
Initialize a new session
|
Modifier and Type | Method and Description |
---|---|
Single<String> |
ConsulClient.createSessionWithOptions(SessionOptions options)
Initialize a new session
|
Single<String> |
ConsulClient.rxCreateSessionWithOptions(SessionOptions options)
Initialize a new session
|
Copyright © 2024 Eclipse. All rights reserved.