public interface SynchronyEvictionDao
Modifier and Type | Method and Description |
---|---|
List<Long> |
findContentWithAnyEventOlderThan(int eventThresholdHours,
int limit)
Get at most content ids from synchrony events table, for each at least one event
is older than hours from now.
|
List<Long> |
findContentWithAnySnapshotOlderThan(int snapshotThresholdHours,
int limit)
Get at most content ids from synchrony snapshot table, for each at least one event
is older than hours from now.
|
List<Long> |
findSafeContentWithHistoryOlderThan(int synchronyThresholdHours,
int draftThresholdHours,
int limit)
Get at most content ids from synchrony tables, for each all events are older than
hours from now.
|
long |
getEventsCount(Long contentId) |
long |
getSnapshotsCount(Long contentId) |
int |
removeAllSynchronyDataFor(Collection<Long> contentIds)
Remove all synchrony data matching
|
int |
removeApplicationIds(Collection<String> applicationIds) |
List<Long> findSafeContentWithHistoryOlderThan(int synchronyThresholdHours, int draftThresholdHours, int limit)
List<Long> findContentWithAnyEventOlderThan(int eventThresholdHours, int limit)
List<Long> findContentWithAnySnapshotOlderThan(int snapshotThresholdHours, int limit)
int removeAllSynchronyDataFor(Collection<Long> contentIds)
long getEventsCount(Long contentId)
long getSnapshotsCount(Long contentId)
int removeApplicationIds(Collection<String> applicationIds)
Copyright © 2003–2019 Atlassian. All rights reserved.