public abstract static class LockManagers.BaseLockManager extends java.lang.Object implements LockManager
Constructor and Description |
---|
BaseLockManager() |
Modifier and Type | Method and Description |
---|---|
long |
acquireIntervalMs() |
long |
acquireTimeoutMs() |
long |
heartbeatIntervalMs() |
int |
heartbeatThreads() |
long |
heartbeatTimeoutMs() |
void |
initialize(java.util.Map<java.lang.String,java.lang.String> properties)
Initialize lock manager from catalog properties.
|
java.util.concurrent.ScheduledExecutorService |
scheduler() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acquire, release
public long heartbeatTimeoutMs()
public long heartbeatIntervalMs()
public long acquireIntervalMs()
public long acquireTimeoutMs()
public int heartbeatThreads()
public java.util.concurrent.ScheduledExecutorService scheduler()
public void initialize(java.util.Map<java.lang.String,java.lang.String> properties)
LockManager
initialize
in interface LockManager
properties
- catalog properties