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

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

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package java.util.concurrent;

import java.util.Collection;
import java.util.List;

public interface ExecutorService extends Executor {
	void shutdown();

	List shutdownNow();

	boolean isShutdown();


	boolean isTerminated();


	boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException;

	 Future submit(Callable task);

	 Future submit(Runnable task, T result);

	Future submit(Runnable task);

	 List> invokeAll(Collection> tasks) throws InterruptedException;

	 List> invokeAll(Collection> tasks, long timeout, TimeUnit unit) throws InterruptedException;

	 T invokeAny(Collection> tasks) throws InterruptedException, ExecutionException;

	 T invokeAny(Collection> tasks, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy