Uses of Interface
dev.morphia.mapping.cache.EntityCache
-
Packages that use EntityCache Package Description dev.morphia dev.morphia.mapping dev.morphia.mapping.cache dev.morphia.query dev.morphia.query.internal -
-
Uses of EntityCache in dev.morphia
Methods in dev.morphia with parameters of type EntityCache Modifier and Type Method Description <T> T
Morphia. fromDBObject(Datastore datastore, java.lang.Class<T> entityClass, com.mongodb.DBObject dbObject, EntityCache cache)
Creates an entity and populates its state based on the dbObject given.void
MapreduceResults. setInlineRequiredOptions(Datastore datastore, java.lang.Class<T> clazz, Mapper mapper, EntityCache cache)
Deprecated.Sets the required options when the operation type was INLINE -
Uses of EntityCache in dev.morphia.mapping
Methods in dev.morphia.mapping that return EntityCache Modifier and Type Method Description EntityCache
Mapper. createEntityCache()
Deprecated.Creates a cache for tracking entities seen during processingMethods in dev.morphia.mapping with parameters of type EntityCache Modifier and Type Method Description <T> T
Mapper. fromDb(Datastore datastore, com.mongodb.DBObject dbObject, T entity, EntityCache cache)
Deprecated.no replacement is plannedvoid
CustomMapper. fromDBObject(Datastore datastore, com.mongodb.DBObject dbObject, MappedField mf, java.lang.Object entity, EntityCache cache, Mapper mapper)
Deprecated.Creates an entity and populates its state based on the dbObject given.<T> T
Mapper. fromDBObject(Datastore datastore, java.lang.Class<T> entityClass, com.mongodb.DBObject dbObject, EntityCache cache)
Deprecated.no replacement is plannedvoid
Mapper. updateKeyAndVersionInfo(Datastore datastore, com.mongodb.DBObject dbObj, EntityCache cache, java.lang.Object entity)
Deprecated. -
Uses of EntityCache in dev.morphia.mapping.cache
Classes in dev.morphia.mapping.cache that implement EntityCache Modifier and Type Class Description class
DefaultEntityCache
This is the default EntityCache for MorphiaMethods in dev.morphia.mapping.cache that return EntityCache Modifier and Type Method Description EntityCache
DefaultEntityCacheFactory. createCache()
Creates a new DefaultEntityCacheEntityCache
EntityCacheFactory. createCache()
Called for every query. -
Uses of EntityCache in dev.morphia.query
Constructors in dev.morphia.query with parameters of type EntityCache Constructor Description MorphiaIterator(Datastore datastore, java.util.Iterator<com.mongodb.DBObject> it, Mapper mapper, java.lang.Class<T> clazz, java.lang.String collection, EntityCache cache)
Deprecated.Creates a MorphiaIterator -
Uses of EntityCache in dev.morphia.query.internal
Constructors in dev.morphia.query.internal with parameters of type EntityCache Constructor Description MorphiaCursor(Datastore datastore, com.mongodb.Cursor cursor, Mapper mapper, java.lang.Class<T> clazz, EntityCache cache)
Creates a MorphiaCursor
-