Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.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 |
---|---|
ConsulClient |
ConsulClient.createSessionWithOptions(SessionOptions options,
Handler<AsyncResult<String>> idHandler)
Initialize a new session
|
ConsulService |
ConsulService.createSessionWithOptions(SessionOptions options,
Handler<AsyncResult<String>> idHandler) |
Constructor and Description |
---|
SessionOptions(SessionOptions options)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.createSessionWithOptions(SessionOptions options,
Handler<AsyncResult<String>> idHandler)
Initialize a new session
|
ConsulService |
ConsulService.createSessionWithOptions(SessionOptions options,
Handler<AsyncResult<String>> idHandler) |
Single<String> |
ConsulClient.rxCreateSessionWithOptions(SessionOptions options)
Initialize a new session
|
Single<String> |
ConsulService.rxCreateSessionWithOptions(SessionOptions options) |
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.createSessionWithOptions(SessionOptions options,
Handler<AsyncResult<String>> idHandler)
Initialize a new session
|
Single<String> |
ConsulClient.rxCreateSessionWithOptions(SessionOptions options)
Initialize a new session
|
Copyright © 2023 Eclipse. All rights reserved.