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.
|
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
public 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
PermutationWorkerFactory
getWorkers
in class PermutationWorkerFactory
unifiedAst
- a UnifiedAstnumWorkers
- the desired number of workersnumWorkers
UnableToCompleteException
public boolean isLocal()
PermutationWorkerFactory
isLocal
in class PermutationWorkerFactory
Copyright © 2018. All rights reserved.