Class DatabaseCleanupProperties.JobDatabaseCleanupProperties

java.lang.Object
com.netflix.genie.web.properties.DatabaseCleanupProperties.JobDatabaseCleanupProperties
Enclosing class:
DatabaseCleanupProperties

public static class DatabaseCleanupProperties.JobDatabaseCleanupProperties extends Object
Properties related to cleaning up job records from the database.
Since:
4.0.0
  • Field Details

    • JOB_CLEANUP_PROPERTY_PREFIX

      public static final String JOB_CLEANUP_PROPERTY_PREFIX
      The prefix for all properties related to cleaning up job records from the database.
      See Also:
    • SKIP_PROPERTY

      public static final String SKIP_PROPERTY
      Skip the Jobs table when performing database cleanup.
      See Also:
    • JOB_RETENTION_PROPERTY

      public static final String JOB_RETENTION_PROPERTY
      The number of days to retain jobs in the database.
      See Also:
    • MAX_DELETED_PER_TRANSACTION_PROPERTY

      public static final String MAX_DELETED_PER_TRANSACTION_PROPERTY
      The number of job records to delete from the database in a single transaction. Genie will loop and perform multiple transactions until all jobs older than the retention time are deleted.
      See Also:
    • PAGE_SIZE_PROPERTY

      public static final String PAGE_SIZE_PROPERTY
      The page size used within each cleanup transaction to iterate through the job records.
      See Also:
  • Constructor Details

    • JobDatabaseCleanupProperties

      public JobDatabaseCleanupProperties()