use hasmap for SoftMemoryCacheImpl cache