Interface VertxConfiguration


  • @ConfigMapping(prefix="quarkus.vertx")
    @ConfigRoot(phase=RUN_TIME)
    public interface VertxConfiguration
    • Method Detail

      • caching

        @WithDefault("true")
        boolean caching()
        Enables or disables the Vert.x cache.
      • classpathResolving

        @WithDefault("true")
        boolean classpathResolving()
        Enables or disabled the Vert.x classpath resource resolver.
      • eventLoopsPoolSize

        OptionalInt eventLoopsPoolSize()
        The number of event loops. By default, it matches the number of CPUs detected on the system.
      • maxEventLoopExecuteTime

        @WithDefault("2")
        Duration maxEventLoopExecuteTime()
        The maximum amount of time the event loop can be blocked.
      • warningExceptionTime

        @WithDefault("2")
        Duration warningExceptionTime()
        The amount of time before a warning is displayed if the event loop is blocked.
      • workerPoolSize

        @WithDefault("${quarkus.thread-pool.max-threads:20}")
        @Deprecated
        int workerPoolSize()
        Deprecated.
        use quarkus.thread-pool.max-threads instead
      • maxWorkerExecuteTime

        @WithDefault("60")
        Duration maxWorkerExecuteTime()
        The maximum amount of time the worker thread can be blocked.
      • internalBlockingPoolSize

        @WithDefault("20")
        int internalBlockingPoolSize()
        The size of the internal thread pool (used for the file system).
      • queueSize

        OptionalInt queueSize()
        The queue size. For most applications this should be unbounded
      • growthResistance

        @WithDefault("0")
        float growthResistance()
        The executor growth resistance. A resistance factor applied after the core pool is full; values applied here will cause that fraction of submissions to create new threads when no idle thread is available. A value of 0.0f implies that threads beyond the core size should be created as aggressively as threads within it; a value of 1.0f implies that threads beyond the core size should never be created.
      • keepAliveTime

        @WithDefault("30")
        Duration keepAliveTime()
        The amount of time a thread will stay alive with no work.
      • prefill

        @WithDefault("false")
        boolean prefill()
        Prefill thread pool when creating a new Executor. When ExecutorServiceFactory.createExecutor(java.util.concurrent.ThreadFactory, java.lang.Integer, java.lang.Integer) is called, initialise with the number of defined threads at startup
      • useAsyncDNS

        @WithDefault("false")
        boolean useAsyncDNS()
        Enables the async DNS resolver.
      • preferNativeTransport

        @WithDefault("false")
        boolean preferNativeTransport()
        Enable or disable native transport