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 boolean
cancel(boolean mayInterruptIfRunning)
Void
get()
Void
get(long timeout, TimeUnit unit)
boolean
isCancelled()
boolean
isDone()
-
-
-
Constructor Detail
-
CompilationFuture
public CompilationFuture(CompilationValve valve, StringWriter output)
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceFuture<Void>
-
get
public Void get() throws InterruptedException, ExecutionException
- Specified by:
get
in interfaceFuture<Void>
- Throws:
InterruptedException
ExecutionException
-
get
public Void get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
get
in interfaceFuture<Void>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-
-