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 cache.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the maximum number of sequence identifiers to keep in memory per segment.
    void
    setSize(int size)
    Sets the maximum number 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

    • getSize

      public int getSize()
      Returns the maximum number of sequence identifiers to keep in memory per segment.
      Returns:
      the cache size, or 0 if caching is disabled.
    • setSize

      public void setSize(int size)
      Sets the maximum number of sequence identifiers to keep in memory per segment. Setting this to 0 disables the caching wrapper entirely.
      Parameters:
      size - the maximum cache size per segment.