Class LockManagers.BaseLockManager

java.lang.Object
org.apache.iceberg.util.LockManagers.BaseLockManager
All Implemented Interfaces:
AutoCloseable, LockManager
Direct Known Subclasses:
DynamoDbLockManager
Enclosing class:
LockManagers

public abstract static class LockManagers.BaseLockManager extends Object implements LockManager
  • Constructor Details

    • BaseLockManager

      public BaseLockManager()
  • Method Details

    • heartbeatTimeoutMs

      public long heartbeatTimeoutMs()
    • heartbeatIntervalMs

      public long heartbeatIntervalMs()
    • acquireIntervalMs

      public long acquireIntervalMs()
    • acquireTimeoutMs

      public long acquireTimeoutMs()
    • heartbeatThreads

      public int heartbeatThreads()
    • scheduler

      public ScheduledExecutorService scheduler()
    • initialize

      public void initialize(Map<String,String> properties)
      Description copied from interface: LockManager
      Initialize lock manager from catalog properties.
      Specified by:
      initialize in interface LockManager
      Parameters:
      properties - catalog properties
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception