public static class ConsistentKeyLocker.Builder extends AbstractLocker.Builder<ConsistentKeyLockStatus,ConsistentKeyLocker.Builder>
llm, lockExpire, lockState, log, rid, serializer, times| Constructor and Description |
|---|
Builder(KeyColumnValueStore store,
StoreManager manager) |
| Modifier and Type | Method and Description |
|---|---|
ConsistentKeyLocker |
build() |
ConsistentKeyLocker.Builder |
customCleaner(LockCleanerService s) |
ConsistentKeyLocker.Builder |
fromConfig(Configuration config) |
protected LocalLockMediator<StoreTransaction> |
getDefaultMediator()
Get the default
LocalLockMediator for Locker being built. |
ConsistentKeyLocker.Builder |
lockRetryCount(int count) |
ConsistentKeyLocker.Builder |
lockWait(java.time.Duration d) |
protected ConsistentKeyLocker.Builder |
self()
Concrete subclasses should just "
return this;". |
ConsistentKeyLocker.Builder |
standardCleaner() |
internalState, lockExpire, logger, mediator, mediatorName, preBuild, rid, serializer, timespublic Builder(KeyColumnValueStore store, StoreManager manager)
public ConsistentKeyLocker.Builder lockWait(java.time.Duration d)
public ConsistentKeyLocker.Builder lockRetryCount(int count)
public ConsistentKeyLocker.Builder standardCleaner()
public ConsistentKeyLocker.Builder customCleaner(LockCleanerService s)
public ConsistentKeyLocker.Builder fromConfig(Configuration config)
public ConsistentKeyLocker build()
protected ConsistentKeyLocker.Builder self()
AbstractLocker.Builderreturn this;".self in class AbstractLocker.Builder<ConsistentKeyLockStatus,ConsistentKeyLocker.Builder>protected LocalLockMediator<StoreTransaction> getDefaultMediator()
AbstractLocker.BuilderLocalLockMediator for Locker being built.
This is called when the client doesn't specify a locker.getDefaultMediator in class AbstractLocker.Builder<ConsistentKeyLockStatus,ConsistentKeyLocker.Builder>Copyright © 2012–2015. All rights reserved.