Class CompositeEvictionProgressTracking
java.lang.Object
com.atlassian.confluence.pages.collab.impl.tracking.CompositeEvictionProgressTracking
- All Implemented Interfaces:
SynchronyEvictionProgressTracking
@Internal
public class CompositeEvictionProgressTracking
extends Object
implements SynchronyEvictionProgressTracking
Combines several trackers into one
- Since:
- 7.0.0
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
failEviction
(SynchronyEvictionProgress progress) Indicate an error in the eviction processvoid
There was an error in locking process.void
failSearch
(SynchronyEvictionProgress progress) Indicate an error in the searching processvoid
finishEviction
(SynchronyEvictionProgress progress, int contentsRemoved, int rowsRemoved) Successfully finish eviction processvoid
finishRemovalUnderLock
(SynchronyEvictionProgress progress, Integer numberOfRowsRemoved) Removal procedure has been finished and the lock has been removedvoid
finishSearch
(SynchronyEvictionProgress progress, Integer numberOfContent) Successfully finish the searchstartEviction
(SynchronyEvictionType type, Integer thresholdHours, Integer limit) Gets called before starting the whole eviction procedurevoid
startRemovalUnderLock
(SynchronyEvictionProgress progress, Integer numberOfContent) Gets called when DB rows are being removed while corresponding synchrony data is lockedvoid
startSearch
(SynchronyEvictionProgress progress, SynchronyEvictionSearchType type, Integer limit) Start searching for content to be removedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.pages.collab.impl.tracking.SynchronyEvictionProgressTracking
startEviction
-
Constructor Details
-
CompositeEvictionProgressTracking
-
-
Method Details
-
startEviction
public SynchronyEvictionProgress startEviction(SynchronyEvictionType type, Integer thresholdHours, Integer limit) Description copied from interface:SynchronyEvictionProgressTracking
Gets called before starting the whole eviction procedure- Specified by:
startEviction
in interfaceSynchronyEvictionProgressTracking
-
finishEviction
public void finishEviction(SynchronyEvictionProgress progress, int contentsRemoved, int rowsRemoved) Description copied from interface:SynchronyEvictionProgressTracking
Successfully finish eviction process- Specified by:
finishEviction
in interfaceSynchronyEvictionProgressTracking
-
failEviction
Description copied from interface:SynchronyEvictionProgressTracking
Indicate an error in the eviction process- Specified by:
failEviction
in interfaceSynchronyEvictionProgressTracking
-
startSearch
public void startSearch(SynchronyEvictionProgress progress, SynchronyEvictionSearchType type, Integer limit) Description copied from interface:SynchronyEvictionProgressTracking
Start searching for content to be removed- Specified by:
startSearch
in interfaceSynchronyEvictionProgressTracking
-
finishSearch
Description copied from interface:SynchronyEvictionProgressTracking
Successfully finish the search- Specified by:
finishSearch
in interfaceSynchronyEvictionProgressTracking
-
failSearch
Description copied from interface:SynchronyEvictionProgressTracking
Indicate an error in the searching process- Specified by:
failSearch
in interfaceSynchronyEvictionProgressTracking
-
startRemovalUnderLock
Description copied from interface:SynchronyEvictionProgressTracking
Gets called when DB rows are being removed while corresponding synchrony data is locked- Specified by:
startRemovalUnderLock
in interfaceSynchronyEvictionProgressTracking
-
finishRemovalUnderLock
Description copied from interface:SynchronyEvictionProgressTracking
Removal procedure has been finished and the lock has been removed- Specified by:
finishRemovalUnderLock
in interfaceSynchronyEvictionProgressTracking
-
failRemovalUnderLock
Description copied from interface:SynchronyEvictionProgressTracking
There was an error in locking process. Lock has been removed- Specified by:
failRemovalUnderLock
in interfaceSynchronyEvictionProgressTracking
-