ColdBox Platform Version 2.6.4

coldbox.system.cache
Class MTCacheManager

WEB-INF.cftags.component
        extended by coldbox.system.cache.CacheManager
            extended by coldbox.system.cache.MTCacheManager

public class MTCacheManager
extends CacheManager

The multi-threaded cache manager.


Method Summary
 void clearAllEvents([boolean async='true'])
          Clears all events from the cache
 void clearAllViews([boolean async='true'])
          Clears all views from the cache
 void expireAll([boolean async='true'])
          Expire All Objects
private void initPool()
          Initialize and set the internal object Pool
 void reap()
          Reap the cache
 
Methods inherited from class coldbox.system.cache.CacheManager
ThresholdChecks, announceExpiration, clear, clearByKeySnippet, clearEvent, clearEventMulti, clearKey, clearKeyMulti, clearView, configure, expireByKeySnippet, expireKey, get, getCacheConfig, getCacheStats, getCachedObjectMetadata, getCachedObjectMetadataMulti, getItemTypes, getJavaRuntime, getMulti, getObjectPool, getPoolKeys, getPoolMetadata, getSize, getUtil, geteventURLFacade, init, lookup, lookupMulti, set, setCacheConfig, setEvictionPolicy, setMulti
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

clearAllEvents

public void clearAllEvents([boolean async='true'])
Clears all events from the cache.

Overrides:
clearAllEvents in class CacheManager
Parameters:
async - Run asynchronously or not

clearAllViews

public void clearAllViews([boolean async='true'])
Clears all views from the cache.

Overrides:
clearAllViews in class CacheManager
Parameters:
async - Run asynchronously or not

expireAll

public void expireAll([boolean async='true'])
Expire All Objects. Use this instead of clear() from within handlers or any cached object, this sets the metadata for the objects to expire in the next request. Note that this is not an inmmediate expiration. Clear should only be used from outside a cached object

Overrides:
expireAll in class CacheManager
Parameters:
async - Run asynchronously or not

initPool

private void initPool()
Initialize and set the internal object Pool

Overrides:
initPool in class CacheManager

reap

public void reap()
Reap the cache.

Overrides:
reap in class CacheManager

ColdBox Platform Version 2.6.4