@Transactional public class TombstoneManagerImpl extends Object implements TombstoneManager
Modifier and Type | Field and Description |
---|---|
static Duration |
TOMBSTONE_LIFETIME
The time after which tombstones get removed from persisted storage
|
Constructor and Description |
---|
TombstoneManagerImpl(TombstoneDao tombstoneDao) |
Modifier and Type | Method and Description |
---|---|
void |
removeOldTombstones()
Removes tombstones that are older than the tombstone expiry
|
void |
removeTombstonesOlderThan(Instant cutoff)
Removes all tombstones older than the instant specified
|
public static final Duration TOMBSTONE_LIFETIME
public TombstoneManagerImpl(TombstoneDao tombstoneDao)
public void removeOldTombstones()
TombstoneManager
removeOldTombstones
in interface TombstoneManager
public void removeTombstonesOlderThan(Instant cutoff)
TombstoneManager
removeTombstonesOlderThan
in interface TombstoneManager
Copyright © 2021 Atlassian. All rights reserved.