Interface Lifecycle


  • public interface Lifecycle
    Methods for managing the life cycle of a component.
    • Method Detail

      • start

        io.vertx.core.Future<Void> start()
        Starts this component.

        This method should be used to allocate any required resources. However, no long running tasks should be executed.

        Returns:
        A future indicating the outcome of the startup process.
      • stop

        io.vertx.core.Future<Void> stop()
        Stops this component.

        This method should be used to release any allocated resources. However, no long running tasks should be executed.

        Returns:
        A future indicating the outcome of the shut down process.