mura.cache

Class cacheAbstract

lucee.Component
    extended by mura.cfobject
      extended by mura.cache.cacheAbstract
Direct Known Subclasses:
cacheAdvanced , cacheSimple , pluginStandardEventFactory

This provide basic factory methods for cache factories

Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init()
    Method Summary
    any get(string key)
    any getAll()
    any getCollection()
    any getHashKey(string key)
    any getJavaLoader()
    any getParent()
    boolean has(string key)
    boolean hasParent()
    private boolean isSoftReference(any obj)
    boolean keyExists([any key])
    any purge(string key)
    any purgeAll()
    any set(string key, any obj, [boolean isSoft='false'], [any timespan=''])
    private any setCollection(struct collection)
    any setJavaLoader(any javaLoader)
    any setParent(any parent)
    any size()
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getFeed, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, getValue, hasCustomDatasource, initTracePoint, inject, injectMethod, invokeMethod, mixin, parseDateArg, removeValue, setValue, valueExists
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Method Detail

    get

    public any get(string key)

    Overrides:
    get in class cfobject
    Parameters:
    key

    getAll

    public any getAll()


    getCollection

    public any getCollection()


    getHashKey

    public any getHashKey(string key)

    Parameters:
    key

    getJavaLoader

    public any getJavaLoader()


    getParent

    public any getParent()


    has

    public boolean has(string key)

    Parameters:
    key

    hasParent

    public boolean hasParent()


    isSoftReference

    private boolean isSoftReference(any obj)

    Parameters:
    obj

    keyExists

    public boolean keyExists([any key])

    Parameters:
    key

    purge

    public any purge(string key)

    Parameters:
    key

    purgeAll

    public any purgeAll()


    set

    public any set(string key, any obj, [boolean isSoft='false'], [any timespan=''])

    Overrides:
    set in class cfobject
    Parameters:
    key
    obj
    isSoft
    timespan

    setCollection

    private any setCollection(struct collection)

    Parameters:
    collection

    setJavaLoader

    public any setJavaLoader(any javaLoader)

    Parameters:
    javaLoader

    setParent

    public any setParent(any parent)

    Parameters:
    parent

    size

    public any size()