ObjectCache
Description:
Create a new cache instance using the given type ID and ID. This is protected as the type_id
will typically be set statically by
subclasses.
Parameters:
type_id |
A string identifying the type of object being cached. This has to be suitable for use as a directory name; i.e. lower case, hyphen- separated. |
id |
A string identifying the particular cache instance. This will form the file name of the cache file, but will be escaped beforehand, so can be an arbitrary non-empty string. |
Returns:
A new cache instance |
Since:
0.6.0