box.system.cache.store.concurrent.Callable interface">
|
ColdBox Platform - WireBox Version 1.1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
wirebox.system.cache.store.JDBCStore
public class JDBCStore
I am a cool cool JDBC Store for CacheBox
| Constructor Summary | |
|---|---|
init(any<ICacheProvider> cacheProvider)
Constructor |
|
| Method Summary | |
|---|---|
any |
clear(any objectKey)
Clears an object from the storage pool |
void |
clearAll()
Clear all elements of the store |
private void |
ensureTable()
Create the caching table if necessary |
void |
expireObject(any objectKey)
Mark an object for expiration |
void |
flush()
Flush the store to a permanent storage |
any |
get(any objectKey)
Get an object from cache |
any |
getIndexer()
Get the store's pool metadata indexer structure |
any |
getKeys()
Get all the store's object keys |
any |
getNormalizedID(any objectKey)
Get the cached normalized id |
any |
getQuiet(any objectKey)
Get an object from cache with no stats |
any |
getSize()
Get the cache's size in items |
any |
getStoreID()
Get this storage's ID |
private any |
getUtil()
Create and return a util object |
any |
isExpired(any objectKey)
Test if an object in the store has expired or not, returns false if object not found |
any |
lookup(any objectKey)
Check if an object is in cache |
private any |
lookupQuery(any objectKey)
Get the lookup query |
void |
reap()
Reap the storage, clean it from old stuff |
void |
set(any objectKey, any object, [any timeout='0'], [any lastAccessTimeout='0'], [any extras='[runtime expression]'])
sets an object in the storage |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any<ICacheProvider> cacheProvider)
cacheProvider - The associated cache provider as wirebox.system.cache.ICacheProvider| Method Detail |
|---|
public any clear(any objectKey)
clear
in interface
IObjectStore
objectKey - The object keypublic void clearAll()
clearAll
in interface
IObjectStore
private void ensureTable()
public void expireObject(any objectKey)
expireObject
in interface
IObjectStore
objectKey - The object keypublic void flush()
flush
in interface
IObjectStore
public any get(any objectKey)
get
in interface
IObjectStore
objectKey - The key of the objectpublic any getIndexer()
getIndexer
in interface
IObjectStore
public any getKeys()
getKeys
in interface
IObjectStore
public any getNormalizedID(any objectKey)
objectKey - The key of the objectpublic any getQuiet(any objectKey)
getQuiet
in interface
IObjectStore
objectKey - The key of the objectpublic any getSize()
getSize
in interface
IObjectStore
public any getStoreID()
private any getUtil()
public any isExpired(any objectKey)
isExpired
in interface
IObjectStore
objectKey - The object keypublic any lookup(any objectKey)
lookup
in interface
IObjectStore
objectKey - The key of the objectprivate any lookupQuery(any objectKey)
objectKey - The key of the objectpublic void reap()
reap
in interface
IObjectStore
public void set(any objectKey, any object, [any timeout='0'], [any lastAccessTimeout='0'], [any extras='[runtime expression]'])
set
in interface
IObjectStore
objectKey - The object keyobject - The object to savetimeout - Timeout in minuteslastAccessTimeout - Timeout in minutesextras - A map of extra name-value pairs
|
ColdBox Platform - WireBox Version 1.1.1 | ||||
| FRAMES | |||||