585960616263646566
// Add a cache layer if the memory manager is available. if( memManager==null ) return journalAdapter; MemoryBoundedCachePersistenceAdapter cacheAdapter = new MemoryBoundedCachePersistenceAdapter(journalAdapter); cacheAdapter.setMemoryManager(memManager); return cacheAdapter; }