Package org.revapi.java.compilation
Class CompilationFuture
- java.lang.Object
-
- org.revapi.java.compilation.CompilationFuture
-
-
Constructor Summary
Constructors Constructor Description CompilationFuture(CompilationValve valve, StringWriter output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Voidget()Voidget(long timeout, TimeUnit unit)booleanisCancelled()booleanisDone()
-
-
-
Constructor Detail
-
CompilationFuture
public CompilationFuture(CompilationValve valve, StringWriter output)
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceFuture<Void>
-
get
public Void get() throws InterruptedException, ExecutionException
- Specified by:
getin interfaceFuture<Void>- Throws:
InterruptedExceptionExecutionException
-
get
public Void get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
getin interfaceFuture<Void>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
-