@Internal
public interface SynchronyEvictionProgressTracking
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
|
default SynchronyEvictionProgress |
startEviction(SynchronyEvictionType type,
Integer thresholdHours) |
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
|
SynchronyEvictionProgress startEviction(SynchronyEvictionType type, Integer thresholdHours, Integer limit)
default SynchronyEvictionProgress startEviction(SynchronyEvictionType type, Integer thresholdHours)
void finishEviction(SynchronyEvictionProgress progress, int contentsRemoved, int rowsRemoved)
void failEviction(SynchronyEvictionProgress progress)
void startSearch(SynchronyEvictionProgress progress, SynchronyEvictionSearchType type, Integer limit)
void finishSearch(SynchronyEvictionProgress progress, Integer numberOfContent)
void failSearch(SynchronyEvictionProgress progress)
void startRemovalUnderLock(SynchronyEvictionProgress progress, Integer numberOfContent)
void finishRemovalUnderLock(SynchronyEvictionProgress progress, Integer numberOfRowsRemoved)
void failRemovalUnderLock(SynchronyEvictionProgress progress)
Copyright © 2003–2020 Atlassian. All rights reserved.