MDL-36768 cache: replaced cache_store interface with abstract class