cachebox.system.cache.policies

Class LIFO

lucee.Component
    extended by cachebox.system.cache.policies.AbstractEvictionPolicy
      extended by cachebox.system.cache.policies.LIFO
All Implemented Interfaces:
IEvictionPolicy

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com ---- This is a LIFO eviction Policy meaning that the first object placed on cache will be the last one to come out. This is usually a structure that represents a stack. More information can be found here: http://en.wikipedia.org/wiki/FIFO

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
  • author : original: Luis Majano, cfscript: Francesco Pepe
  •  
    Constructor Summary
    init(any cacheProvider)
          This is the constructor.
    Method Summary
    void execute()
         Execute the policy.
     
    Methods inherited from class cachebox.system.cache.policies.AbstractEvictionPolicy
    getAssociatedCache, getCacheProvider, getLogger, getUtil, processEvictions, setCacheProvider, setLogger
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any cacheProvider)

    This is the constructor

    Parameters:
    cacheProvider - The associated cache provider of type: cachebox.system.cache.ICacheProvider" doc_generic="cachebox.system.cache.ICacheProvider

    Method Detail

    execute

    public void execute()

    Execute the policy

    Overrides:
    execute in class AbstractEvictionPolicy