Interface EventProcessorSettings.DlqSettings.CacheSettings

Enclosing interface:
EventProcessorSettings.DlqSettings

public static interface EventProcessorSettings.DlqSettings.CacheSettings
Cache settings for the DLQ sequence identifier in-memory cache.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Default cache settings: size 1024.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Maximum number of sequence identifiers kept in memory per segment.
  • Field Details

  • Method Details

    • size

      int size()
      Maximum number of sequence identifiers kept in memory per segment. Setting this to 0 disables the caching wrapper entirely. Defaults to 1024.
      Returns:
      maximum cache size per segment, or 0 to disable caching.