public class CompilerDaemonClient extends Object implements CompilerDaemon, CompilerDaemonClientProtocol, Stoppable
| Constructor and Description |
|---|
CompilerDaemonClient(DaemonForkOptions forkOptions,
CompilerDaemonServerProtocol server) |
| Modifier and Type | Method and Description |
|---|---|
<T extends CompileSpec> |
execute(Compiler<T> compiler,
T spec) |
void |
executed(CompileResult result) |
boolean |
isCompatibleWith(DaemonForkOptions required) |
void |
stop()
Requests a graceful stop of this object.
|
public CompilerDaemonClient(DaemonForkOptions forkOptions, CompilerDaemonServerProtocol server)
public <T extends CompileSpec> CompileResult execute(Compiler<T> compiler, T spec)
execute in interface CompilerDaemonpublic boolean isCompatibleWith(DaemonForkOptions required)
public void stop()
StoppableRequests a graceful stop of this object. Blocks until all concurrent activity has been completed.
If this object has already been stopped, this method does nothing.
public void executed(CompileResult result)
executed in interface CompilerDaemonClientProtocolCopyright © 2013. All rights reserved