package org.mongodb.morphia.mapping.cache;
Default implementation of cache factory, returning the default entity cache.
/**
* Default implementation of cache factory, returning the default entity cache.
*/
public class DefaultEntityCacheFactory implements EntityCacheFactory {
Creates a new DefaultEntityCache
Returns: the cache
/**
* Creates a new DefaultEntityCache
*
* @return the cache
*/
public EntityCache createCache() {
return new DefaultEntityCache();
}
}