Skip navigation links
A C D E F G H L O P T U 

A

add(Stream<Entity>) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
add(Entity) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
afterCommitTransaction(String) - Method in class org.molgenis.data.cache.l2.L2Cache
 
afterCommitTransaction(String) - Method in class org.molgenis.data.cache.l3.L3Cache
 

C

CombinedEntityCache - Class in org.molgenis.data.cache.utils
Caches Entitys from different repositories in dehydrated form in a single combined Guava Cache.
CombinedEntityCache(EntityHydration, Cache<EntityKey, Optional<Map<String, Object>>>) - Constructor for class org.molgenis.data.cache.utils.CombinedEntityCache
Creates a new CombinedEntityCache

D

dehydrate(Entity) - Method in class org.molgenis.data.cache.utils.EntityHydration
Creates a Map containing the values required to rebuild this entity.
delegate() - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
delegate() - Method in class org.molgenis.data.cache.l2.L2CacheRepositoryDecorator
 
delegate() - Method in class org.molgenis.data.cache.l3.L3CacheRepositoryDecorator
 
delete(Entity) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
delete(Stream<Entity>) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
deleteAll(Stream<Object>) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
deleteAll() - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
deleteById(Object) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
doCleanupAfterCompletion(String) - Method in class org.molgenis.data.cache.l1.L1Cache
 

E

EntityHydration - Class in org.molgenis.data.cache.utils
Hydrates and dehydrates entities.
EntityHydration(EntityManager) - Constructor for class org.molgenis.data.cache.utils.EntityHydration
 
evict(Stream<EntityKey>) - Method in class org.molgenis.data.cache.l1.L1Cache
 
evict(Stream<EntityKey>) - Method in class org.molgenis.data.cache.utils.CombinedEntityCache
 
evictAll(EntityType) - Method in class org.molgenis.data.cache.l1.L1Cache
 
evictAll(EntityType) - Method in class org.molgenis.data.cache.utils.CombinedEntityCache
Evicts all entries from the cache that belong to a certain entityType.

F

findAll(Stream<Object>) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
findAll(Stream<Object>) - Method in class org.molgenis.data.cache.l2.L2CacheRepositoryDecorator
Retrieves multiple entities by id.
findAll(Stream<Object>, Fetch) - Method in class org.molgenis.data.cache.l2.L2CacheRepositoryDecorator
 
findAll(Query<Entity>) - Method in class org.molgenis.data.cache.l3.L3CacheRepositoryDecorator
Retrieves a List of identifiers from the L3Cache if the Repository is cacheable and the Query is limited (i.e.
findOne(Query<Entity>) - Method in class org.molgenis.data.cache.l3.L3CacheRepositoryDecorator
Retrieves a single identifier from the L3Cache if the Repository is cacheable and hasn't been touched in this transaction.
findOneById(Object) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
findOneById(Object) - Method in class org.molgenis.data.cache.l2.L2CacheRepositoryDecorator
Retrieves a single entity by id.
findOneById(Object, Fetch) - Method in class org.molgenis.data.cache.l2.L2CacheRepositoryDecorator
 

G

get(String, Object, EntityType) - Method in class org.molgenis.data.cache.l1.L1Cache
Retrieves an entity from the L1 cache based on a combination of entity name and entity id.
get(Repository<Entity>, Object) - Method in class org.molgenis.data.cache.l2.L2Cache
Retrieves an entity from the cache or the underlying repository.
get(Repository<Entity>, Query<Entity>) - Method in class org.molgenis.data.cache.l3.L3Cache
 
getBatch(Repository<Entity>, Iterable<Object>) - Method in class org.molgenis.data.cache.l2.L2Cache
Retrieves a list of entities from the cache.
getIfPresent(EntityType, Object) - Method in class org.molgenis.data.cache.utils.CombinedEntityCache
Retrieves an entity from the cache if present.

H

hydrate(Map<String, Object>, EntityType) - Method in class org.molgenis.data.cache.utils.EntityHydration
Rehydrate an entity.

L

L1Cache - Class in org.molgenis.data.cache.l1
Caches entities within a transaction to speed up queries within those transactions.
L1Cache(MolgenisTransactionManager, EntityHydration) - Constructor for class org.molgenis.data.cache.l1.L1Cache
 
L1CacheRepositoryDecorator - Class in org.molgenis.data.cache.l1
Adds, removes and retrieves entities from the L1Cache when a Repository is RepositoryCapability.CACHEABLE.
L1CacheRepositoryDecorator(Repository<Entity>, L1Cache) - Constructor for class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
L2Cache - Class in org.molgenis.data.cache.l2
In-memory cache of entities read from cacheable repositories.
L2Cache(MolgenisTransactionManager, EntityHydration, TransactionInformation) - Constructor for class org.molgenis.data.cache.l2.L2Cache
 
L2CacheRepositoryDecorator - Class in org.molgenis.data.cache.l2
Adds, removes and retrieves entities from the L2Cache when a Repository is RepositoryCapability.CACHEABLE.
L2CacheRepositoryDecorator(Repository<Entity>, L2Cache, TransactionInformation) - Constructor for class org.molgenis.data.cache.l2.L2CacheRepositoryDecorator
 
L3Cache - Class in org.molgenis.data.cache.l3
In-memory Query cache containing Queries and resulting ids from cacheable repositories
L3Cache(MolgenisTransactionManager, TransactionInformation) - Constructor for class org.molgenis.data.cache.l3.L3Cache
 
L3CacheRepositoryDecorator - Class in org.molgenis.data.cache.l3
Retrieves identifiers from the L3Cache based on a Query if RepositoryCapability.CACHEABLE.
L3CacheRepositoryDecorator(Repository<Entity>, L3Cache, TransactionInformation) - Constructor for class org.molgenis.data.cache.l3.L3CacheRepositoryDecorator
 
logStatistics() - Method in class org.molgenis.data.cache.l2.L2Cache
Logs cumulative cache statistics for all known caches.
logStatistics() - Method in class org.molgenis.data.cache.l3.L3Cache
Logs cumulative cache statistics for all known caches.

O

org.molgenis.data.cache.l1 - package org.molgenis.data.cache.l1
 
org.molgenis.data.cache.l2 - package org.molgenis.data.cache.l2
 
org.molgenis.data.cache.l3 - package org.molgenis.data.cache.l3
 
org.molgenis.data.cache.utils - package org.molgenis.data.cache.utils
 

P

put(String, Entity) - Method in class org.molgenis.data.cache.l1.L1Cache
Puts an entity into the L1 cache, if the cache exists for the current thread.
put(Entity) - Method in class org.molgenis.data.cache.utils.CombinedEntityCache
Inserts an entity into the cache.
putDeletion(EntityKey) - Method in class org.molgenis.data.cache.l1.L1Cache
 
putDeletion(EntityKey) - Method in class org.molgenis.data.cache.utils.CombinedEntityCache
Caches the deletion of an entity instance.

T

transactionStarted(String) - Method in class org.molgenis.data.cache.l1.L1Cache
 

U

update(Entity) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
update(Stream<Entity>) - Method in class org.molgenis.data.cache.l1.L1CacheRepositoryDecorator
 
A C D E F G H L O P T U 
Skip navigation links

Copyright © 2017. All Rights Reserved.