public class BuildCache extends AbstractCache<BuildResult>
compiler| Constructor and Description |
|---|
BuildCache(Compiler compiler)
Creates a
BuildCache with a default, initial size of 1000. |
BuildCache(Compiler compiler,
int size) |
| Modifier and Type | Method and Description |
|---|---|
protected Task<BuildResult> |
createTask(String objectName)
Creates a new task to be put into the cache, if necessary.
|
protected TaskResult.ResultType |
getExecutorQueueType()
Subclasses must return the executor queue type for the particular class.
|
void |
setDependency(String objectName,
String dependencyName)
This method will set the given dependency in the map which holds them.
|
retrieve, retrieve, waitForResultpublic BuildCache(Compiler compiler)
BuildCache with a default, initial size of 1000.compiler - associated compiler for this cachepublic BuildCache(Compiler compiler, int size)
protected Task<BuildResult> createTask(String objectName)
AbstractCachecreateTask in class AbstractCache<BuildResult>objectName - Key used to generate the associated task.protected TaskResult.ResultType getExecutorQueueType()
AbstractCachegetExecutorQueueType in class AbstractCache<BuildResult>public void setDependency(String objectName, String dependencyName) throws EvaluationException
objectName - name of the object which has the dependencydependencyName - name of the object objectName depends onEvaluationExceptionCopyright © 2014 Quattor. All Rights Reserved.