public class AbstractVerticle
extends io.vertx.core.AbstractVerticle
| Constructor and Description |
|---|
AbstractVerticle() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(io.vertx.core.Vertx vertx,
io.vertx.core.Context context) |
io.reactivex.rxjava3.core.Completable |
rxStart()
Override to return a
Completable that will complete the deployment of this verticle. |
io.reactivex.rxjava3.core.Completable |
rxStop()
Override to return a
Completable that will complete the undeployment of this verticle. |
void |
start(io.vertx.core.Promise<Void> startFuture) |
void |
stop(io.vertx.core.Promise<Void> stopFuture) |
protected Vertx vertx
public void init(io.vertx.core.Vertx vertx,
io.vertx.core.Context context)
init in interface io.vertx.core.Verticleinit in class io.vertx.core.AbstractVerticlepublic void start(io.vertx.core.Promise<Void> startFuture) throws Exception
start in interface io.vertx.core.Verticlestart in class io.vertx.core.AbstractVerticleExceptionpublic io.reactivex.rxjava3.core.Completable rxStart()
Completable that will complete the deployment of this verticle.
When null is returned, the AbstractVerticle.start() will be called instead.public void stop(io.vertx.core.Promise<Void> stopFuture) throws Exception
stop in interface io.vertx.core.Verticlestop in class io.vertx.core.AbstractVerticleExceptionpublic io.reactivex.rxjava3.core.Completable rxStop()
Completable that will complete the undeployment of this verticle.
When null is returned, the AbstractVerticle.stop() will be called instead.Copyright © 2022 Eclipse. All rights reserved.