![JAR search and dependency download from the Maven repository](/logo.png)
java.util.concurrent.locks.Lock Maven / Gradle / Ivy
package java.util.concurrent.locks;
import java.util.concurrent.TimeUnit;
public interface Lock {
void lock();
void lockInterruptibly() throws InterruptedException;
boolean tryLock();
boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
void unlock();
Condition newCondition();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy