Interface EventProcessorSettings.PooledEventProcessorSettings

All Superinterfaces:
EventProcessorSettings
All Known Implementing Classes:
EventProcessorProperties.ProcessorSettings
Enclosing interface:
EventProcessorSettings

public static non-sealed interface EventProcessorSettings.PooledEventProcessorSettings extends EventProcessorSettings
Settings for pooled event processor.
  • Method Details

    • processorMode

      @Nonnull default EventProcessorSettings.ProcessorMode processorMode()
      Retrieves the processor mode.
      Specified by:
      processorMode in interface EventProcessorSettings
      Returns:
      processor mode.
    • initialSegmentCount

      int initialSegmentCount()
      Initial segment count.
      Returns:
      returns initial segment count.
    • tokenClaimIntervalInMillis

      long tokenClaimIntervalInMillis()
      Retrieves token claim interval.
      Returns:
      interval in milliseconds.
    • threadCount

      int threadCount()
      Thread count for pooled processor.
      Returns:
      a positive integer describing the size of the thread pool.
    • batchSize

      int batchSize()
      Batch size for the pooled processor.
      Returns:
      a positive integer describing the size of the batch.
    • tokenStore

      @Nonnull String tokenStore()
      Name of the token store of the bean.
      Returns:
      Name of the bean acting as token store for this pooled streaming processor.