public class StandardLockCleanerService extends Object implements LockCleanerService
StandardLockCleanerRunnable instances. Updates a timed-expiration Guava
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) |
StandardLockCleanerService(KeyColumnValueStore store,
ConsistentKeyLockerSerializer serializer,
ExecutorService exec,
long cooldownTime,
TimeUnit cooldownUnit) |
public StandardLockCleanerService(KeyColumnValueStore store, ConsistentKeyLockerSerializer serializer, ExecutorService exec, long cooldownTime, TimeUnit cooldownUnit)
public StandardLockCleanerService(KeyColumnValueStore store, ConsistentKeyLockerSerializer serializer)
public void clean(KeyColumn target, long cutoff, StoreTransaction tx)
clean in interface LockCleanerServiceCopyright © 2012–2014. All rights reserved.