please remove the getters for the dependencies of the cache. It does not make sense to have the cache adapter exposing them to the outside