Package org.apache.iceberg
Interface LockManager
- All Superinterfaces:
- AutoCloseable
- All Known Implementing Classes:
- DynamoDbLockManager,- LockManagers.BaseLockManager
An interface for locking, used to ensure commit isolation.
- 
Method SummaryMethods inherited from interface java.lang.AutoCloseableclose
- 
Method Details- 
acquireTry to acquire a lock- Parameters:
- entityId- ID of the entity to lock
- ownerId- ID of the owner if the lock
- Returns:
- if the lock for the entity is acquired by the owner
 
- 
releaseRelease a lockexception must not be thrown for this method. - Parameters:
- entityId- ID of the entity to lock
- ownerId- ID of the owner if the lock
- Returns:
- if the owner held the lock and successfully released it.
 
- 
initializeInitialize lock manager from catalog properties.- Parameters:
- properties- catalog properties
 
 
-