public interface LockProvider<T> extends Lock, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
default String |
getCurrentOwnerLockInfo() |
default T |
getLock() |
default void |
lock() |
default void |
lockInterruptibly() |
default Condition |
newCondition() |
default boolean |
tryLock() |
default void lockInterruptibly()
lockInterruptibly in interface Lockdefault Condition newCondition()
newCondition in interface Lockdefault T getLock()
default String getCurrentOwnerLockInfo()
default void close()
close in interface AutoCloseableCopyright © 2024 The Apache Software Foundation. All rights reserved.