This method will initialize the cache. It should be called only once within
For internal use.
Dual use accessor for init flag. If cache_init has run this attribute is 1, otherwise its 0.
|cache_filename||Dual use accessor for the name of the disk file which holds the cache. Defaults to /tmp/gantry.storable.cache.|
This method will get/set the current namespace for cache operations.
This method returns the handle for the underlining cache. You can use
this handle to manipulate the cache directly. Doing so will be highly
specific to the underling cache handler.
|cache_purge||Useless here. This method is for other cache plugins which support a purge method.|
|cache_get||This method returns the data associated with the current namespace/key combination.|
|cache_set||This method stores the data associated with the current namespace/key combination.|
This method returns an arry reference of cache keys.
This method will clear the entire cache.
|cache_del||This method removes the data associated with the current namespace/key combination.|
Retrieves the current expiration time for data items within the cache. The
expiration time is set when the cache is initially initialize. So setting
it will not change anything. Expiration time formats are highly specific to
the underlining cache handler.
Tim Keefer <firstname.lastname@example.org>
Copyright (C) 2007 Tim Keefer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
|perl v5.20.3||GANTRY::PLUGINS::CACHE::STORABLE (3)||2016-04-03|