Class IdempotencyProperties.JdbcProperties
java.lang.Object
io.github.ravocode.avoonce.spring.IdempotencyProperties.JdbcProperties
- Enclosing class:
IdempotencyProperties
JDBC-specific configuration properties (
avoonce.idempotency.jdbc.*).-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new JDBC properties instance with default values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the eviction scheduling settings.booleanReturns whether the schema should be initialized automatically.voidsetAutoDdl(boolean autoDdl) Sets whether the schema should be initialized automatically.voidSets the eviction scheduling settings.
-
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:
truewhen DDL is created automatically
-
setAutoDdl
public void setAutoDdl(boolean autoDdl) Sets whether the schema should be initialized automatically.- Parameters:
autoDdl-trueto initialize the schema automatically
-
getEviction
Returns the eviction scheduling settings.- Returns:
- the eviction properties
-
setEviction
Sets the eviction scheduling settings.- Parameters:
eviction- the eviction properties to use
-