
public class ThreadedPermutationWorkerFactory extends PermutationWorkerFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_THREADS_PROPERTY
A Java system property that can be used to change the number of in-process
threads used.
|
FACTORY_IMPL_PROPERTY, WORKERS_AUTO| Constructor and Description |
|---|
ThreadedPermutationWorkerFactory() |
| 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.
|
compilePermutationspublic static final String MAX_THREADS_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 boolean isLocal()
PermutationWorkerFactoryisLocal in class PermutationWorkerFactoryCopyright © 2018. All rights reserved.