* converted DefaultMemoryCache to Java