Package dev.morphia.mapping.cache
Class DefaultEntityCacheFactory
- java.lang.Object
-
- dev.morphia.mapping.cache.DefaultEntityCacheFactory
-
- All Implemented Interfaces:
EntityCacheFactory
public class DefaultEntityCacheFactory extends java.lang.Object implements EntityCacheFactory
Default implementation of cache factory, returning the default entity cache.
-
-
Constructor Summary
Constructors Constructor Description DefaultEntityCacheFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityCache
createCache()
Creates a new DefaultEntityCache
-
-
-
Method Detail
-
createCache
public EntityCache createCache()
Creates a new DefaultEntityCache- Specified by:
createCache
in interfaceEntityCacheFactory
- Returns:
- the cache
-
-