
public class ExternalPermutationWorkerFactory extends PermutationWorkerFactory
CompilePermsServer. The system property
"gwt.jjs.javaCommand" can be used to change the command used to
launch the JVM. The system property JVM_ARGS_PROPERTY can be used to
override the JVM args passed to the subprocess.| Modifier and Type | Field and Description |
|---|---|
static String |
JAVA_COMMAND_PROPERTY
A system property that can be used to override the command used to invoke a
JVM instance.
|
static String |
JVM_ARGS_PROPERTY
A system property that can be used to override the JVM args passed to the
subprocess.
|
FACTORY_IMPL_PROPERTY, WORKERS_AUTO| Constructor and Description |
|---|
ExternalPermutationWorkerFactory() |
| Modifier and Type | Method and Description |
|---|---|
Collection<com.google.gwt.dev.PermutationWorker> |
getWorkers(TreeLogger logger,
UnifiedAst unifiedAst,
int numWorkers)
Return some number of PermutationWorkers.
|
void |
init(TreeLogger logger)
Initialize the PermutationWorkerFactory.
|
boolean |
isLocal()
Indicates if the PermutationWorkers created by the factory consume
computational or memory resources on the local system, as opposed to the
per-permutation work being performed on a remote system.
|
compilePermutations, compilePermutationspublic static final String JAVA_COMMAND_PROPERTY
public static final String JVM_ARGS_PROPERTY
public Collection<com.google.gwt.dev.PermutationWorker> getWorkers(TreeLogger logger, UnifiedAst unifiedAst, int numWorkers) throws UnableToCompleteException
PermutationWorkerFactorygetWorkers in class PermutationWorkerFactoryunifiedAst - a UnifiedAstnumWorkers - the desired number of workersnumWorkersUnableToCompleteExceptionpublic void init(TreeLogger logger) throws UnableToCompleteException
PermutationWorkerFactoryinit in class PermutationWorkerFactoryUnableToCompleteExceptionpublic boolean isLocal()
PermutationWorkerFactoryisLocal in class PermutationWorkerFactoryCopyright © 2018. All rights reserved.