Package com.evolveum.midpoint.repo.cache
Class GlobalObjectCache
- java.lang.Object
-
- com.evolveum.midpoint.repo.cache.AbstractGlobalCache
-
- com.evolveum.midpoint.repo.cache.GlobalObjectCache
-
@Component public class GlobalObjectCache extends AbstractGlobalCache
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.cache.AbstractGlobalCache
configurationManager, prismContext
-
-
Constructor Summary
Constructors Constructor Description GlobalObjectCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
destroy()
<T extends ObjectType>
GlobalCacheObjectValue<T>get(String oid)
protected CacheType
getCacheType()
void
initialize()
boolean
isAvailable()
<T extends ObjectType>
voidput(GlobalCacheObjectValue<T> cacheObject)
void
remove(Class<?> type, String oid)
void
remove(String oid)
-
Methods inherited from class com.evolveum.midpoint.repo.cache.AbstractGlobalCache
getConfiguration, getConfiguration, getExpiryTime
-
-
-
-
Method Detail
-
initialize
public void initialize()
-
destroy
@PreDestroy public void destroy()
-
isAvailable
public boolean isAvailable()
-
get
public <T extends ObjectType> GlobalCacheObjectValue<T> get(String oid)
-
remove
public void remove(@NotNull String oid)
-
put
public <T extends ObjectType> void put(GlobalCacheObjectValue<T> cacheObject)
-
getCacheType
protected CacheType getCacheType()
- Specified by:
getCacheType
in classAbstractGlobalCache
-
clear
public void clear()
- Specified by:
clear
in classAbstractGlobalCache
-
-