Class EventProcessorProperties.DlqCache

java.lang.Object
org.axonframework.extension.springboot.EventProcessorProperties.DlqCache
Enclosing class:
EventProcessorProperties

public static class EventProcessorProperties.DlqCache extends Object
Configuration for the Dead-Letter-Queue Caching.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the size of the sequence identifiers to keep in memory, per segment.
    boolean
    Indicates whether using a cache is enabled.
    void
    setEnabled(boolean enabled)
    Enables (if true, default) or disables (if false) using a cache.
    void
    setSize(int size)
    Set the amount of sequence identifiers to keep in memory, per segment.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 (if true, default) or disables (if false) 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.