Package org.molgenis.data.cache.l1
Class L1CacheJanitorImpl
- java.lang.Object
-
- org.molgenis.data.cache.l1.L1CacheJanitorImpl
-
- All Implemented Interfaces:
L1CacheJanitor
@Component public class L1CacheJanitorImpl extends Object implements L1CacheJanitor
-
-
Constructor Summary
Constructors Constructor Description L1CacheJanitorImpl(L1Cache l1Cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanCacheBeforeAdd(Entity entity)Stream<Entity>cleanCacheBeforeAdd(EntityType entityType, Stream<Entity> entityStream)voidcleanCacheBeforeDelete(Entity entity)Stream<Entity>cleanCacheBeforeDelete(EntityType entityType, Stream<Entity> entityStream)voidcleanCacheBeforeDeleteAll(EntityType entityType)voidcleanCacheBeforeDeleteById(EntityType entityType, Object entityId)Stream<Object>cleanCacheBeforeDeleteById(EntityType entityType, Stream<Object> entityIdStream)voidcleanCacheBeforeUpdate(Entity entity)Stream<Entity>cleanCacheBeforeUpdate(EntityType entityType, Stream<Entity> entityStream)
-
-
-
Constructor Detail
-
L1CacheJanitorImpl
public L1CacheJanitorImpl(L1Cache l1Cache)
-
-
Method Detail
-
cleanCacheBeforeAdd
public void cleanCacheBeforeAdd(Entity entity)
- Specified by:
cleanCacheBeforeAddin interfaceL1CacheJanitor
-
cleanCacheBeforeAdd
public Stream<Entity> cleanCacheBeforeAdd(EntityType entityType, Stream<Entity> entityStream)
- Specified by:
cleanCacheBeforeAddin interfaceL1CacheJanitor
-
cleanCacheBeforeUpdate
public void cleanCacheBeforeUpdate(Entity entity)
- Specified by:
cleanCacheBeforeUpdatein interfaceL1CacheJanitor
-
cleanCacheBeforeUpdate
public Stream<Entity> cleanCacheBeforeUpdate(EntityType entityType, Stream<Entity> entityStream)
- Specified by:
cleanCacheBeforeUpdatein interfaceL1CacheJanitor
-
cleanCacheBeforeDelete
public void cleanCacheBeforeDelete(Entity entity)
- Specified by:
cleanCacheBeforeDeletein interfaceL1CacheJanitor
-
cleanCacheBeforeDelete
public Stream<Entity> cleanCacheBeforeDelete(EntityType entityType, Stream<Entity> entityStream)
- Specified by:
cleanCacheBeforeDeletein interfaceL1CacheJanitor
-
cleanCacheBeforeDeleteById
public void cleanCacheBeforeDeleteById(EntityType entityType, Object entityId)
- Specified by:
cleanCacheBeforeDeleteByIdin interfaceL1CacheJanitor
-
cleanCacheBeforeDeleteById
public Stream<Object> cleanCacheBeforeDeleteById(EntityType entityType, Stream<Object> entityIdStream)
- Specified by:
cleanCacheBeforeDeleteByIdin interfaceL1CacheJanitor
-
cleanCacheBeforeDeleteAll
public void cleanCacheBeforeDeleteAll(EntityType entityType)
- Specified by:
cleanCacheBeforeDeleteAllin interfaceL1CacheJanitor
-
-