assignment work to develop in memory cache in java 1.7