クラス AutoCloseableReentrantLockNotReady
java.lang.Object
org.wcardinal.util.thread.AutoCloseableReentrantLockNotReady
- すべての実装されたインタフェース:
AutoCloseable,AutoCloseableReentrantLock
public class AutoCloseableReentrantLockNotReady
extends Object
implements AutoCloseableReentrantLock
-
フィールド詳細
-
INSTANCE
-
-
コンストラクタの詳細
-
AutoCloseableReentrantLockNotReady
public AutoCloseableReentrantLockNotReady()
-
-
メソッドの詳細
-
open
- 定義:
openインタフェース内AutoCloseableReentrantLock
-
close
public void close()- 定義:
closeインタフェース内AutoCloseable- 定義:
closeインタフェース内AutoCloseableReentrantLock
-
lock
public void lock()- 定義:
lockインタフェース内AutoCloseableReentrantLock
-
isLocked
public boolean isLocked()- 定義:
isLockedインタフェース内AutoCloseableReentrantLock
-
tryLock
public boolean tryLock()- 定義:
tryLockインタフェース内AutoCloseableReentrantLock
-
tryLock
- 定義:
tryLockインタフェース内AutoCloseableReentrantLock- 例外:
InterruptedException
-
unlock
public void unlock()- 定義:
unlockインタフェース内AutoCloseableReentrantLock
-
getHoldCount
public int getHoldCount()- 定義:
getHoldCountインタフェース内AutoCloseableReentrantLock
-
isHeldByCurrentThread
public boolean isHeldByCurrentThread()- 定義:
isHeldByCurrentThreadインタフェース内AutoCloseableReentrantLock
-