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

14 lines
334 B
Java

package com.tridium.util.backport.concurrent;
public interface Future {
boolean cancel(boolean z);
Object get() throws InterruptedException, ExecutionException;
Object get(long j, TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException;
boolean isCancelled();
boolean isDone();
}