Class DatabaseCleanupProperties


  • @ConfigurationProperties(prefix="genie.tasks.database-cleanup")
    @Validated
    public class DatabaseCleanupProperties
    extends java.lang.Object
    Properties controlling the behavior of the database cleanup leadership task.
    Since:
    3.0.0
    • Field Detail

      • PROPERTY_PREFIX

        public static final java.lang.String PROPERTY_PREFIX
        The property prefix for Database Cleanup related tasks.
        See Also:
        Constant Field Values
      • ENABLED_PROPERTY

        public static final java.lang.String ENABLED_PROPERTY
        The property key for whether this feature is enabled or not.
        See Also:
        Constant Field Values
      • EXPRESSION_PROPERTY

        public static final java.lang.String EXPRESSION_PROPERTY
        The cron expression for when the cleanup task should occur.
        See Also:
        Constant Field Values
      • BATCH_SIZE_PROPERTY

        public static final java.lang.String BATCH_SIZE_PROPERTY
        The batch size used to iteratively delete unused entities.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DatabaseCleanupProperties

        public DatabaseCleanupProperties()