Package org.openiam.common.cache
Class AbstractBackendSweeper
- java.lang.Object
-
- org.openiam.cache.AbstractRedisCacheProvider
-
- org.openiam.cache.AbstractCacheSweeper
-
- org.openiam.common.cache.AbstractBackendSweeper
-
- All Implemented Interfaces:
Sweepable
- Direct Known Subclasses:
AuthProviderCacheSweeper,EdgeIdCacheSweeper,EntitltementsObjectCacheSweeper,GraphIdCacheSweeper,ManagedSysCacheSweeper,PolicyCacheSweeper,PropertyValueCacheSweeper,UserCountForGroupsCacheSweeper,UserCountForRolesCacheSweeper
public abstract class AbstractBackendSweeper extends AbstractCacheSweeper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openiam.cache.AbstractCacheSweeper
AbstractCacheSweeper.CacheMode
-
Nested classes/interfaces inherited from class org.openiam.cache.AbstractRedisCacheProvider
AbstractRedisCacheProvider.CacheType, AbstractRedisCacheProvider.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.transaction.support.TransactionTemplatetransactionTemplate-
Fields inherited from class org.openiam.cache.AbstractCacheSweeper
log, redissonClient
-
-
Constructor Summary
Constructors Constructor Description AbstractBackendSweeper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractRedisCacheProvider.ContextgetContext()voidinit()voidsweep()Placeholder for Spring to call via Quartz.-
Methods inherited from class org.openiam.cache.AbstractCacheSweeper
evictOldKeys, forceSweep, getCacheMode, getDateCacheKey, getLockCacheKey, getSweepTime
-
Methods inherited from class org.openiam.cache.AbstractRedisCacheProvider
buildCacheKey, buildCacheKey, getCacheType
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
sweep
public void sweep()
Description copied from interface:SweepablePlaceholder for Spring to call via Quartz. Required for @Transactional sweeper methods.- Specified by:
sweepin interfaceSweepable- Overrides:
sweepin classAbstractCacheSweeper
-
getContext
protected AbstractRedisCacheProvider.Context getContext()
- Specified by:
getContextin classAbstractRedisCacheProvider
-
-