Interface PolarisEventListenerConfiguration.Executor

Enclosing interface:
PolarisEventListenerConfiguration

public static interface PolarisEventListenerConfiguration.Executor
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The thread pool size.
    int
    The queue size.
  • Method Details

    • poolSize

      @WithDefault("-1") int poolSize()
      The thread pool size. The default is -1, which is interpreted as the number of available listeners, capped by the number of cores
    • queueSize

      @WithDefault("-1") int queueSize()
      The queue size. The default is -1, which is interpreted as unbounded. This limit is applied globally and affects all listeners. To configure the per-listener queue size, use polaris.event-listener.listener-backlog.queue-size instead.