/wheels/cache/strategy/AbstractStrategy.cfc

http://cfwheels.googlecode.com/ · ColdFusion CFScript · 14 lines · 9 code · 5 blank · 0 comment · 0 complexity · e5c9895a900cdafdc2c62f26e9e2076e MD5 · raw file

  1. <cfinterface>
  2. <cffunction name="evictOnSet" access="public" description="Method to determine if the eviction policy evicts items when adding items to storage." output="false" returntype="boolean" />
  3. <cffunction name="evictOnGet" access="public" description="Method to determine if the eviction policy evicts found keys from the storage." output="false" returntype="boolean" />
  4. <cffunction name="getExpired" access="public" description="Method to find all of the keys that should be expired from the cache." output="false" returntype="array">
  5. <cfargument name="keys" type="array" required="true">
  6. <cfargument name="storage" type="any" required="true">
  7. <cfargument name="currentTime" type="date" required="true">
  8. </cffunction>
  9. </cfinterface>