options is passed to
the constructor.
Parameters [type] JRegistry instance identifier
[options] Options to pass to the constructor
Returns A new instance of a JCache derived object
Appendix
[ 424 ]
static getStores( ) : array
Gets an array of storage handler names that will operate correctly in the current environment.
Returns Array of storage handler names
remove( id : string, group : string=null ) : boolean
Removes cached data, identified by id and group.
Parameters id Cached data ID
[group] Cached data group
Returns true if the data is removed
setCacheValidation( ) : void
Deprecated; this method no longer performs any action, and there is no replacement function
or method.
setCaching( enabled : boolean ) : void
Enables and disables caching.
Parameters enabled Turn caching on or off
setLifeTime( lt : int ) : void
Sets the maximum lifetime of cached items in seconds.
Parameters lt Lifetime of cached items in seconds
store( data : string, id : string, group : string=null ) : boolean
Adds data to the cache, identified by id and group.
Pages:
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588