All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 - 2024 Weber Informatics LLC | Privacy Policy