Class EventProcessorProperties.DlqCache
java.lang.Object
org.axonframework.extension.springboot.EventProcessorProperties.DlqCache
- Enclosing class:
EventProcessorProperties
Configuration for the Dead-Letter-Queue Caching.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetSize()Returns the size of the sequence identifiers to keep in memory, per segment.booleanIndicates whether using a cache is enabled.voidsetEnabled(boolean enabled) Enables (iftrue, default) or disables (iffalse) using a cache.voidsetSize(int size) Set the amount of sequence identifiers to keep in memory, per segment.
-
Constructor Details
-
DlqCache
public DlqCache()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Indicates whether using a cache is enabled.- Returns:
- true if using a cache is enabled, false if otherwise.
-
setEnabled
public void setEnabled(boolean enabled) Enables (iftrue, default) or disables (iffalse) using a cache.- Parameters:
enabled- whether to enable using a cache.
-
getSize
public int getSize()Returns the size of the sequence identifiers to keep in memory, per segment.- Returns:
- the amount of sequence identifiers to keep in memory.
-
setSize
public void setSize(int size) Set the amount of sequence identifiers to keep in memory, per segment.- Parameters:
size- the maximum size of the sequence identifiers which are not present.
-