Base class for verticle implementations.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Start the verticle. This is called by Vert.x when the verticle instance is deployed. Don't call it yourself.
Start the verticle. This is called by Vert.x when the verticle instance is deployed. Don't call it yourself.
If your verticle does things in its startup which take some time then you can override this method and return a concurrent.Future completed with the start up is complete. Propagating a failure fails the deployment of the verticle
Attributes
- Returns
-
a concurrent.Future, completed when the start up completes, or failed if the verticle cannot be started.
Stop the verticle. This is called by Vert.x when the verticle instance is un-deployed. Don't call it yourself.
Stop the verticle. This is called by Vert.x when the verticle instance is un-deployed. Don't call it yourself.
If your verticle does things in its shut-down which take some time then you can override this method and return a concurrent.Future completed when the clean-up is complete.
Attributes
- Returns
-
a concurrent.Future completed when the clean-up completes, or failed if the verticle cannot be stopped gracefully.
Get the configuration of the verticle.
Get the configuration of the verticle.
This can be specified when the verticle is deployed.
Attributes
- Returns
-
the configuration
Get the deployment ID of the verticle deployment
Get the deployment ID of the verticle deployment
Attributes
- Returns
-
the deployment ID
Initialise the verticle.
Initialise the verticle.
This is called by Vert.x when the verticle instance is deployed. Don't call it yourself.
Value parameters
- context
-
the context of the verticle
- vertx
-
the deploying Vert.x instance
Attributes
Start the verticle.
Start the verticle.
Attributes
Start the verticle.
Start the verticle.
Attributes
Stop the verticle.
Stop the verticle.
Attributes
Stop the verticle.
Stop the verticle.
Attributes
Deprecated methods
Get the arguments used when deploying the Vert.x process.
Get the arguments used when deploying the Vert.x process.
Attributes
- Returns
-
the list of arguments
- Deprecated
-
As of version 5, Vert.x is no longer tightly coupled to the CLI