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) |
rx.Completable |
rxStart()
Override to return a
Completable that will complete the deployment of this verticle. |
rx.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.Verticle
init
in class io.vertx.core.AbstractVerticle
public void start(io.vertx.core.Promise<Void> startFuture) throws Exception
start
in interface io.vertx.core.Verticle
start
in class io.vertx.core.AbstractVerticle
Exception
public rx.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.Verticle
stop
in class io.vertx.core.AbstractVerticle
Exception
public rx.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.