Class VertxManager


  • public class VertxManager
    extends Object
    • Constructor Detail

      • VertxManager

        public VertxManager()
    • Method Detail

      • get

        public static io.vertx.core.Vertx get()
        The priority where to obtain a Vert.x instance: 1. The instance passed by the user to the client builder (not handled by this class) 2. The global Vertx instance that was set by calling `setFromGlobal` 3. Attempt to locate Vertx using the current thread context 4. Create our own custom instance (in case that multiple clients fall through into here, use only one instance for all)
      • setFromGlobal

        public static void setFromGlobal​(io.vertx.core.Vertx vertx)
      • closeCustomInstance

        public static io.vertx.core.Future<Void> closeCustomInstance()