public class CompilerThread extends Object implements Runnable
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Method and Description |
---|---|
String |
currentRequestId() |
void |
executeSubtask(Runnable r)
Execute a minor task, for example generating bytecodes and writing them to disk,
that belong to a major compiler thread task.
|
void |
logError(String msg) |
int |
numActiveSubTasks()
Count the number of active sub tasks.
|
void |
run()
Invoked by the executor service.
|
void |
setSocket(Socket s)
Use this socket for the upcoming request.
|
void |
unuse()
Prepare the compiler thread for idleness.
|
void |
use()
Prepare the compiler thread for use.
|
public void executeSubtask(Runnable r)
public int numActiveSubTasks()
public void setSocket(Socket s)
public void use()
public void unuse()
public String currentRequestId()
public void logError(String msg)
Copyright © 2017 earcam. All rights reserved.