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
FieldsModifier and TypeFieldDescriptionstatic final EventProcessorSettings.DlqSettings.CacheSettingsDefault cache settings: size 1024. -
Method Summary
Modifier and TypeMethodDescriptionintsize()Maximum number of sequence identifiers kept in memory per segment.
-
Field Details
-
DEFAULT
Default cache settings: size 1024.
-
-
Method Details
-
size
int size()Maximum number of sequence identifiers kept in memory per segment. Setting this to0disables the caching wrapper entirely. Defaults to1024.- Returns:
- maximum cache size per segment, or
0to disable caching.
-