2026-03-17 13:31:18 -07:00

31 lines
875 B
Java

package com.tridium.util.backport.concurrent;
import java.util.Collection;
import java.util.List;
public interface ExecutorService extends Executor {
boolean awaitTermination(long j, TimeUnit timeUnit) throws InterruptedException;
List invokeAll(Collection collection) throws InterruptedException;
List invokeAll(Collection collection, long j, TimeUnit timeUnit) throws InterruptedException;
Object invokeAny(Collection collection) throws InterruptedException, ExecutionException;
Object invokeAny(Collection collection, long j, TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException;
boolean isShutdown();
boolean isTerminated();
void shutdown();
List shutdownNow();
Future submit(Callable callable);
Future submit(Runnable runnable);
Future submit(Runnable runnable, Object obj);
}