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() |
void |
close() |
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 propertiespublic void close() throws java.lang.Exception
close
in interface java.lang.AutoCloseable
java.lang.Exception