Package dev.morphia.mapping.cache
Interface EntityCacheFactory
-
- All Known Implementing Classes:
DefaultEntityCacheFactory
public interface EntityCacheFactory
Factory for entity caches.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityCache
createCache()
Called for every query.
-
-
-
Method Detail
-
createCache
EntityCache createCache()
Called for every query. The cache is used during queries for by-id lookups.- Returns:
- the cache
-
-