public class StandardLockCleanerService extends Object implements LockCleanerService
StandardLockCleanerRunnable instances. Updates a timed-expiration Caffeine
strong cache keyed by rows to prevent the user from spamming
tens/hundreds/... of cleaner instances in a short time.| Constructor and Description |
|---|
StandardLockCleanerService(KeyColumnValueStore store,
ConsistentKeyLockerSerializer serializer,
ExecutorService exec,
Duration cooldown,
TimestampProvider times) |
StandardLockCleanerService(KeyColumnValueStore store,
ConsistentKeyLockerSerializer serializer,
TimestampProvider times) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean(KeyColumn target,
Instant cutoff,
StoreTransaction tx) |
public StandardLockCleanerService(KeyColumnValueStore store, ConsistentKeyLockerSerializer serializer, ExecutorService exec, Duration cooldown, TimestampProvider times)
public StandardLockCleanerService(KeyColumnValueStore store, ConsistentKeyLockerSerializer serializer, TimestampProvider times)
public void clean(KeyColumn target, Instant cutoff, StoreTransaction tx)
clean in interface LockCleanerServiceCopyright © 2012–2023. All rights reserved.