Class AbstractVersionRemovalService
java.lang.Object
com.atlassian.confluence.impl.retention.AbstractVersionRemovalService
- All Implemented Interfaces:
VersionRemovalService
- Direct Known Subclasses:
DefaultVersionRemovalService
,FastVersionRemovalService
- Since:
- 9.1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ClusterLockExecutionService
static final Long
protected static final int
protected final HistoricalVersionService
static final String
protected final RetentionFeatureChecker
protected final SoftCleanupStatusService
protected final SpaceRetentionPolicyManager
protected final org.springframework.transaction.PlatformTransactionManager
protected final VersionRemovalEventPublisher
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractVersionRemovalService
(HistoricalVersionService historicalVersionService, SoftCleanupStatusService softCleanupStatusService, VersionRemovalEventPublisher versionRemovalEventPublisher, org.springframework.transaction.PlatformTransactionManager transactionManager, RetentionFeatureChecker retentionFeatureChecker, SpaceRetentionPolicyManager spaceRetentionPolicyManager, ClusterLockExecutionService clusterLockExecutionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<DeletedHistoricalVersionSummary>
deleteForRule
(List<EvaluatedHistoricalVersion> evaluated, RuleScope ruleScope) protected org.springframework.transaction.support.TransactionTemplate
protected void
saveJobStatus
(SoftCleanupJobStatus status) protected Cleanup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.impl.retention.VersionRemovalService
hardRemoveVersions, softRemoveVersions
-
Field Details
-
RETENTION_RULES_DELETION_BATCH_SIZE_KEY
- See Also:
-
DEFAULT_START_ORIGINAL_ID
-
DELETION_BATCH_SIZE
protected static final int DELETION_BATCH_SIZE -
historicalVersionService
-
softCleanupStatusService
-
versionRemovalEventPublisher
-
transactionManager
protected final org.springframework.transaction.PlatformTransactionManager transactionManager -
retentionFeatureChecker
-
spaceRetentionPolicyManager
-
clusterLockExecutionService
-
-
Constructor Details
-
AbstractVersionRemovalService
protected AbstractVersionRemovalService(HistoricalVersionService historicalVersionService, SoftCleanupStatusService softCleanupStatusService, VersionRemovalEventPublisher versionRemovalEventPublisher, org.springframework.transaction.PlatformTransactionManager transactionManager, RetentionFeatureChecker retentionFeatureChecker, SpaceRetentionPolicyManager spaceRetentionPolicyManager, ClusterLockExecutionService clusterLockExecutionService)
-
-
Method Details
-
setCacheMode
-
saveJobStatus
-
deleteForRule
protected List<DeletedHistoricalVersionSummary> deleteForRule(List<EvaluatedHistoricalVersion> evaluated, RuleScope ruleScope) -
getTransactionTemplate
protected org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()
-