14 lines
334 B
Java
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();
|
|
}
|