public class Valid2Cache extends AbstractCache<Valid2Result>
compiler| Constructor and Description |
|---|
Valid2Cache(Compiler compiler)
Creates a new
Valid2Cache that has a default, initial size
of 1000 entries. |
Valid2Cache(Compiler compiler,
int size) |
| Modifier and Type | Method and Description |
|---|---|
protected Task<Valid2Result> |
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.
|
retrieve, retrieve, waitForResultpublic Valid2Cache(Compiler compiler)
Valid2Cache that has a default, initial size
of 1000 entries.compiler - associated compiler for this cachepublic Valid2Cache(Compiler compiler, int size)
protected Task<Valid2Result> createTask(String objectName)
AbstractCachecreateTask in class AbstractCache<Valid2Result>objectName - Key used to generate the associated task.protected TaskResult.ResultType getExecutorQueueType()
AbstractCachegetExecutorQueueType in class AbstractCache<Valid2Result>Copyright © 2014 Quattor. All Rights Reserved.