|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.collections.QueryCache
public class QueryCache
A query caching mechanism
| Constructor Summary | |
|---|---|
init()
Constructor |
|
| Method Summary | |
|---|---|
void |
cacheQuery(query query, string key, [transfer.com.collections.date expireDateTime='[runtime expression]'])
Caches a given query |
boolean |
checkQuery(string key)
Returns true if the query exists, and hasn't expired |
private struct |
getExpireyCollection()
|
query |
getQuery(string key)
Retrieves a query from the cache |
private struct |
getQueryCollection()
|
void |
removeQuery(string key)
removes a query from the cache |
private void |
setExpireyCollection(struct ExpireyCollection)
|
private void |
setQueryCollection(struct QueryCollection)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init()
| Method Detail |
|---|
public void cacheQuery(query query, string key, [transfer.com.collections.date expireDateTime='[runtime expression]'])
query - The query to cachekey - The unique key to store the query underexpireDateTime - The date-time that the query should expire, default of 'never'public boolean checkQuery(string key)
key - The unique key to store the query underprivate struct getExpireyCollection()
public query getQuery(string key)
key - The unique key the query is stored underprivate struct getQueryCollection()
public void removeQuery(string key)
key - The unique key the query is stored underprivate void setExpireyCollection(struct ExpireyCollection)
ExpireyCollectionprivate void setQueryCollection(struct QueryCollection)
QueryCollection
|
Transfer version 1.1 | ||||
| FRAMES | |||||