public interface QueueableResourceCompiler extends ResourceCompiler
ResourceCompiler
that can queue compile request and execute
them all using slave threads or processes.Modifier and Type | Field and Description |
---|---|
static QueueableResourceCompiler |
NONE |
Modifier and Type | Method and Description |
---|---|
void |
end()
End the current batch of request.
|
void |
start()
Start a new queueing request for compile activities.
|
compile
static final QueueableResourceCompiler NONE
void start()
ResourceCompiler.compile(File, File)
will be part of the same batch of requests.void end() throws java.lang.InterruptedException
ResourceCompiler.compile(File, File)
have finished before returning.
Each compile request result will be available through the
ListenableFuture
returned by
ResourceCompiler
.java.lang.InterruptedException