Class NoOpLockWatchManager
java.lang.Object
com.palantir.atlasdb.keyvalue.api.watch.LockWatchManager
com.palantir.atlasdb.keyvalue.api.watch.LockWatchManagerInternal
com.palantir.atlasdb.keyvalue.api.watch.NoOpLockWatchManager
- All Implemented Interfaces:
AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static LockWatchManagerInternal
create()
com.palantir.lock.watch.LockWatchCache
getCache()
getReadOnlyTransactionScopedCache
(long startTs) getTransactionScopedCache
(long startTs) void
logState()
void
onTransactionCommit
(long startTs) void
registerPreciselyWatches
(Set<com.palantir.lock.watch.LockWatchReferences.LockWatchReference> lockWatchReferences) Registers precisely a set of lock watches.void
requestTransactionStateRemovalFromCache
(long startTs)
-
Method Details
-
create
-
registerPreciselyWatches
public void registerPreciselyWatches(Set<com.palantir.lock.watch.LockWatchReferences.LockWatchReference> lockWatchReferences) Description copied from class:LockWatchManager
Registers precisely a set of lock watches. Lock watches registered on a previous invocation of this method will not be remembered.- Specified by:
registerPreciselyWatches
in classLockWatchManager
-
getCache
public com.palantir.lock.watch.LockWatchCache getCache()- Specified by:
getCache
in classLockWatchManagerInternal
-
requestTransactionStateRemovalFromCache
public void requestTransactionStateRemovalFromCache(long startTs) - Specified by:
requestTransactionStateRemovalFromCache
in classLockWatchManagerInternal
-
onTransactionCommit
public void onTransactionCommit(long startTs) - Specified by:
onTransactionCommit
in classLockWatchManagerInternal
-
logState
public void logState()- Specified by:
logState
in classLockWatchManager
-
getTransactionScopedCache
- Specified by:
getTransactionScopedCache
in classLockWatchManagerInternal
-
getReadOnlyTransactionScopedCache
- Specified by:
getReadOnlyTransactionScopedCache
in classLockWatchManagerInternal
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classLockWatchManagerInternal
-