Class KeyedLock<K>
java.lang.Object
com.cryptomorin.xseries.profiles.lock.KeyedLock<K>
- All Implemented Interfaces:
AutoCloseable
-
Field Details
-
key
-
pendingTasks
protected int pendingTasks -
lock
-
-
Constructor Details
-
KeyedLock
-
-
Method Details
-
lock
public void lock() -
unlock
public void unlock() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
toString
-