If you wish to supply your own caching implementation then you will need to pass in an object that supports the following methods. Note that the memcache module supports this interface natively.