Class ContextHolder

    • Field Detail

      • vertx

        protected final io.vertx.mutiny.core.Vertx vertx
      • context

        protected volatile io.vertx.mutiny.core.Context context
    • Constructor Detail

      • ContextHolder

        public ContextHolder​(io.vertx.mutiny.core.Vertx vertx,
                             int defaultTimeout)
    • Method Detail

      • capture

        public void capture​(io.vertx.mutiny.core.Context context)
      • capture

        public void capture​(io.vertx.core.Context context)
      • getContext

        public io.vertx.mutiny.core.Context getContext()
      • getTimeoutInMillis

        public int getTimeoutInMillis()
      • runOnContext

        public void runOnContext​(Runnable runnable)
      • runOnContextAndAwait

        public <T> T runOnContextAndAwait​(Callable<T> action)