public class AbstractVerticle extends AbstractVerticle
Modifier and Type | Field and Description |
---|---|
protected Vertx |
vertx |
context
Constructor and Description |
---|
AbstractVerticle() |
Modifier and Type | Method and Description |
---|---|
void |
init(Vertx vertx,
Context context) |
io.reactivex.Completable |
rxStart()
Override to return a
Completable that will complete the deployment of this verticle. |
io.reactivex.Completable |
rxStop()
Override to return a
Completable that will complete the undeployment of this verticle. |
void |
start(Promise<Void> startFuture) |
void |
stop(Promise<Void> stopFuture) |
config, deploymentID, getVertx, processArgs, start, stop
protected Vertx vertx
public void init(Vertx vertx, Context context)
init
in interface Verticle
init
in class AbstractVerticle
public void start(Promise<Void> startFuture) throws Exception
start
in interface Verticle
start
in class AbstractVerticle
Exception
public io.reactivex.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(Promise<Void> stopFuture) throws Exception
stop
in interface Verticle
stop
in class AbstractVerticle
Exception
public io.reactivex.Completable rxStop()
Completable
that will complete the undeployment of this verticle.
When null
is returned, the AbstractVerticle.stop()
will be called instead.Copyright © 2020 Eclipse. All rights reserved.