Class IdempotencyProperties.JdbcProperties

java.lang.Object
io.github.ravocode.avoonce.spring.IdempotencyProperties.JdbcProperties
Enclosing class:
IdempotencyProperties

public static class IdempotencyProperties.JdbcProperties extends Object
JDBC-specific configuration properties (avoonce.idempotency.jdbc.*).
  • Constructor Details

    • JdbcProperties

      public JdbcProperties()
      Creates a new JDBC properties instance with default values.
  • Method Details

    • isAutoDdl

      public boolean isAutoDdl()
      Returns whether the schema should be initialized automatically.
      Returns:
      true when DDL is created automatically
    • setAutoDdl

      public void setAutoDdl(boolean autoDdl)
      Sets whether the schema should be initialized automatically.
      Parameters:
      autoDdl - true to initialize the schema automatically
    • getEviction

      Returns the eviction scheduling settings.
      Returns:
      the eviction properties
    • setEviction

      public void setEviction(IdempotencyProperties.EvictionProperties eviction)
      Sets the eviction scheduling settings.
      Parameters:
      eviction - the eviction properties to use