Package com.netflix.genie.web.properties
Class DatabaseCleanupProperties.JobDatabaseCleanupProperties
java.lang.Object
com.netflix.genie.web.properties.DatabaseCleanupProperties.JobDatabaseCleanupProperties
- Enclosing class:
- DatabaseCleanupProperties
Properties related to cleaning up job records from the database.
- Since:
- 4.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe prefix for all properties related to cleaning up job records from the database.static final StringThe number of days to retain jobs in the database.static final StringThe number of job records to delete from the database in a single transaction.static final StringThe page size used within each cleanup transaction to iterate through the job records.static final StringSkip the Jobs table when performing database cleanup. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JOB_CLEANUP_PROPERTY_PREFIX
The prefix for all properties related to cleaning up job records from the database.- See Also:
-
SKIP_PROPERTY
Skip the Jobs table when performing database cleanup.- See Also:
-
JOB_RETENTION_PROPERTY
The number of days to retain jobs in the database.- See Also:
-
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
The page size used within each cleanup transaction to iterate through the job records.- See Also:
-
-
Constructor Details
-
JobDatabaseCleanupProperties
public JobDatabaseCleanupProperties()
-