@Internal public class CompositeEvictionProgressTracking extends Object implements SynchronyEvictionProgressTracking
| Constructor and Description |
|---|
CompositeEvictionProgressTracking(List<SynchronyEvictionProgressTracking> trackers) |
| Modifier and Type | Method and Description |
|---|---|
void |
failEviction(SynchronyEvictionProgress progress)
Indicate an error in the eviction process
|
void |
failRemovalUnderLock(SynchronyEvictionProgress progress)
There was an error in locking process.
|
void |
failSearch(SynchronyEvictionProgress progress)
Indicate an error in the searching process
|
void |
finishEviction(SynchronyEvictionProgress progress,
int contentsRemoved,
int rowsRemoved)
Successfully finish eviction process
|
void |
finishRemovalUnderLock(SynchronyEvictionProgress progress,
Integer numberOfRowsRemoved)
Removal procedure has been finished and the lock has been removed
|
void |
finishSearch(SynchronyEvictionProgress progress,
Integer numberOfContent)
Successfully finish the search
|
SynchronyEvictionProgress |
startEviction(SynchronyEvictionType type,
Integer thresholdHours,
Integer limit)
Gets called before starting the whole eviction procedure
|
void |
startRemovalUnderLock(SynchronyEvictionProgress progress,
Integer numberOfContent)
Gets called when DB rows are being removed while corresponding synchrony data is locked
|
void |
startSearch(SynchronyEvictionProgress progress,
SynchronyEvictionSearchType type,
Integer limit)
Start searching for content to be removed
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartEvictionpublic CompositeEvictionProgressTracking(List<SynchronyEvictionProgressTracking> trackers)
public SynchronyEvictionProgress startEviction(SynchronyEvictionType type, Integer thresholdHours, Integer limit)
SynchronyEvictionProgressTrackingstartEviction in interface SynchronyEvictionProgressTrackingpublic void finishEviction(SynchronyEvictionProgress progress, int contentsRemoved, int rowsRemoved)
SynchronyEvictionProgressTrackingfinishEviction in interface SynchronyEvictionProgressTrackingpublic void failEviction(SynchronyEvictionProgress progress)
SynchronyEvictionProgressTrackingfailEviction in interface SynchronyEvictionProgressTrackingpublic void startSearch(SynchronyEvictionProgress progress, SynchronyEvictionSearchType type, Integer limit)
SynchronyEvictionProgressTrackingstartSearch in interface SynchronyEvictionProgressTrackingpublic void finishSearch(SynchronyEvictionProgress progress, Integer numberOfContent)
SynchronyEvictionProgressTrackingfinishSearch in interface SynchronyEvictionProgressTrackingpublic void failSearch(SynchronyEvictionProgress progress)
SynchronyEvictionProgressTrackingfailSearch in interface SynchronyEvictionProgressTrackingpublic void startRemovalUnderLock(SynchronyEvictionProgress progress, Integer numberOfContent)
SynchronyEvictionProgressTrackingstartRemovalUnderLock in interface SynchronyEvictionProgressTrackingpublic void finishRemovalUnderLock(SynchronyEvictionProgress progress, Integer numberOfRowsRemoved)
SynchronyEvictionProgressTrackingfinishRemovalUnderLock in interface SynchronyEvictionProgressTrackingpublic void failRemovalUnderLock(SynchronyEvictionProgress progress)
SynchronyEvictionProgressTrackingfailRemovalUnderLock in interface SynchronyEvictionProgressTrackingCopyright © 2003–2019 Atlassian. All rights reserved.