io.vertx.core.spi

## Interface VertxThreadFactoryProvider

-     public interface VertxThreadFactoryProvider

  Extension point to allow creating custom `VertxThreadFactory` instances.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `io.vertx.core.impl.VertxThreadFactory` | `createVertxThreadFactory(String prefix, io.vertx.core.impl.BlockedThreadChecker checker, boolean worker, long maxExecTime, TimeUnit maxExecTimeUnit)` Creates a new `VertxThreadFactory` with the following parameters.

- - ### Method Detail

    - #### createVertxThreadFactory

          io.vertx.core.impl.VertxThreadFactory createVertxThreadFactory(String prefix,
                                                                         io.vertx.core.impl.BlockedThreadChecker checker,
                                                                         boolean worker,
                                                                         long maxExecTime,
                                                                         TimeUnit maxExecTimeUnit)

      Creates a new `VertxThreadFactory` with the following parameters.
      Parameters:
        `prefix` - The prefix to be used for the thread name
        `checker` - The implementation which checks about blocked threads
        `worker` - Whether or not the threads created by the returned factory is a worker thread
        `maxExecTime` - The max execute time of the created threads
        `maxExecTimeUnit` - The time unit of the value of the max execute time of the created threads
      Returns:
        the newly constructed VertxThreadFactory

Copyright © 2021 Eclipse. All rights reserved.