Package io.axoniq.framework.springboot
Class DeadLetterQueueProcessorProperties.DlqCache
java.lang.Object
io.axoniq.framework.springboot.DeadLetterQueueProcessorProperties.DlqCache
- Enclosing class:
DeadLetterQueueProcessorProperties
Cache settings for the DLQ sequence identifier in-memory cache.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DlqCache
public DlqCache()
-
-
Method Details
-
getSize
public int getSize()Returns the maximum cache size per segment.- Returns:
- The cache size, or
0if caching is disabled.
-
setSize
public void setSize(int size) Sets the maximum cache size per segment. Setting this to0disables the caching wrapper entirely.- Parameters:
size- The maximum cache size.
-