|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.tql.collections.EvaluationCache
public class EvaluationCache
Cache for storing evaluations of TQL
| Constructor Summary | |
|---|---|
init()
Constructor |
|
| Method Summary | |
|---|---|
void |
add(Query query, array evaluation)
Adds a new evaluation for TQL into the cache |
array |
get(Query query)
gets an evaluation. If one isn't around, returns an empty array |
private struct |
getEvaluationCache()
|
private any |
getReferenceQueue()
|
private struct |
getSoftRefLookup()
|
boolean |
has(Query query)
If it has the tql evaluation or not |
private void |
reap()
reaps the collected objects out of the pool |
private void |
setEvaluationCache(struct EvaluationCache)
|
private void |
setReferenceQueue(any ReferenceQueue)
|
private void |
setSoftRefLookup(struct softRefLookup)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init()
| Method Detail |
|---|
public void add(Query query, array evaluation)
query - the tql query objectevaluation - The evaluation arraypublic array get(Query query)
query - the tql query objectprivate struct getEvaluationCache()
private any getReferenceQueue()
private struct getSoftRefLookup()
public boolean has(Query query)
query - the tql query objectprivate void reap()
private void setEvaluationCache(struct EvaluationCache)
EvaluationCacheprivate void setReferenceQueue(any ReferenceQueue)
ReferenceQueueprivate void setSoftRefLookup(struct softRefLookup)
softRefLookup
|
Transfer version 1.1 | ||||
| FRAMES | |||||