Mura CMS 6.1

mura.cache
Class cacheFactory

railo-context.Component
        extended by mura.cfobject
            extended by mura.Factory
                extended by mura.cache.cacheFactory
Direct Known Subclasses:
cacheFactoryLRU

public class cacheFactory
extends Factory

Constructor Summary
init(boolean isSoft='true', numeric freeMemoryThreshold='0')
          Constructor
 
Method Summary
 any get(string key, [any context], [boolean isSoft='[runtime expression]'], [any timespan=''])
 any getJavaRuntime()
 numeric getPercentFreeMemory()
 boolean hasFreeMemoryAvailable()
 any set(string key, [any context], [boolean isSoft='[runtime expression]'], [any timespan=''])
 
Methods inherited from class mura.Factory
getAll, getCollection, getHashKey, getJavaLoader, getParent, has, hasParent, isSoftReference, keyExists, purge, purgeAll, setCollection, setJavaLoader, setParent, size
 
Methods inherited from class mura.cfobject
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
 
Methods inherited from class railo-context.Component
 

Constructor Detail

init

public init(boolean isSoft='true', numeric freeMemoryThreshold='0')
Constructor

Parameters:
isSoft
freeMemoryThreshold
Method Detail

get

public any get(string key, [any context], [boolean isSoft='[runtime expression]'], [any timespan=''])

Overrides:
get in class Factory
Parameters:
key
context
isSoft
timespan

getJavaRuntime

public any getJavaRuntime()


getPercentFreeMemory

public numeric getPercentFreeMemory()


hasFreeMemoryAvailable

public boolean hasFreeMemoryAvailable()


set

public any set(string key, [any context], [boolean isSoft='[runtime expression]'], [any timespan=''])

Overrides:
set in class Factory
Parameters:
key
context
isSoft
timespan

Mura CMS 6.1