Class EventProcessorProperties.DlqCache
java.lang.Object
org.axonframework.extension.springboot.EventProcessorProperties.DlqCache
- Enclosing class:
EventProcessorProperties
Configuration for the Dead-Letter-Queue cache.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DlqCache
public DlqCache()
-
-
Method Details
-
getSize
public int getSize()Returns the maximum number of sequence identifiers to keep in memory per segment.- Returns:
- the cache size, or
0if caching is disabled.
-
setSize
public void setSize(int size) Sets the maximum number of sequence identifiers to keep in memory per segment. Setting this to0disables the caching wrapper entirely.- Parameters:
size- the maximum cache size per segment.
-