org.qi4j.library.scheduler

## Interface SchedulerConfiguration

-     public interface SchedulerConfiguration

  Configuration for the `Scheduler`. Every property has a default value, you can use a `Scheduler` without providing any.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Property<Boolean>` | `stopViolently()`
    `Property<Integer>` | `workersCount()`
    `Property<Integer>` | `workQueueSize()`

- - ### Method Detail

    - #### workersCount

          @Optional
          Property<Integer> workersCount()

      Returns:
        Number of worker threads, optional and defaults to the number of available cores.

    - #### workQueueSize

          @Optional
          Property<Integer> workQueueSize()

      Returns:
        Size of the queue to use for holding tasks before they are run, optional and defaults to 10.

    - #### stopViolently

          @UseDefaults
          Property<Boolean> stopViolently()

      Returns:
        If the scheduler must stop without waiting for running tasks, optional and defaults to false.