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 |
---|---|
MaintenanceOptions |
MaintenanceOptions.setEnable(boolean enable)
Set maintenance mode to enabled:
true to enter maintenance mode or false to resume normal operation. |
MaintenanceOptions |
MaintenanceOptions.setId(String id)
Set the ID of service.
|
MaintenanceOptions |
MaintenanceOptions.setReason(String reason)
Set the reason message.
|
Modifier and Type | Method and Description |
---|---|
Future<Void> |
ConsulClient.maintenanceService(MaintenanceOptions maintenanceOptions)
Like
ConsulClient.maintenanceService(MaintenanceOptions, Handler) but returns a Future of the asynchronous result. |
ConsulClient |
ConsulClient.maintenanceService(MaintenanceOptions maintenanceOptions,
Handler<AsyncResult<Void>> resultHandler)
Places a given service into "maintenance mode"
|
Constructor and Description |
---|
MaintenanceOptions(MaintenanceOptions options)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.maintenanceService(MaintenanceOptions maintenanceOptions)
Places a given service into "maintenance mode"
|
ConsulClient |
ConsulClient.maintenanceService(MaintenanceOptions maintenanceOptions,
Handler<AsyncResult<Void>> resultHandler)
Places a given service into "maintenance mode"
|
Completable |
ConsulClient.rxMaintenanceService(MaintenanceOptions maintenanceOptions)
Places a given service into "maintenance mode"
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.maintenanceService(MaintenanceOptions maintenanceOptions)
Places a given service into "maintenance mode"
|
ConsulClient |
ConsulClient.maintenanceService(MaintenanceOptions maintenanceOptions,
Handler<AsyncResult<Void>> resultHandler)
Places a given service into "maintenance mode"
|
Single<Void> |
ConsulClient.rxMaintenanceService(MaintenanceOptions maintenanceOptions)
Places a given service into "maintenance mode"
|
Modifier and Type | Method and Description |
---|---|
Completable |
ConsulClient.maintenanceService(MaintenanceOptions maintenanceOptions)
Places a given service into "maintenance mode"
|
Completable |
ConsulClient.rxMaintenanceService(MaintenanceOptions maintenanceOptions)
Places a given service into "maintenance mode"
|
Copyright © 2023 Eclipse. All rights reserved.