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

java.util.concurrent.Future Maven / Gradle / Ivy

package java.util.concurrent;

public interface Future {
	boolean cancel(boolean mayInterruptIfRunning);

	boolean isCancelled();

	boolean isDone();

	V get() throws InterruptedException, ExecutionException;

	V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy