new accessor methods

In a project i am working on i needed deeper control over the cache. So i added new accessors.
It has no consequence on the cache behavior.

Hope this one makes it in.