Class GlobalObjectCache
- java.lang.Object
-
- com.evolveum.midpoint.repo.cache.global.AbstractGlobalCache
-
- com.evolveum.midpoint.repo.cache.global.GlobalObjectCache
-
@Component public class GlobalObjectCache extends AbstractGlobalCache
Node-level cache for objects.
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.cache.global.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()
void
dumpContent()
<T extends ObjectType>
GlobalCacheObjectValue<T>get(String oid)
protected CacheType
getCacheType()
Long
getNextVersionCheckTime(@NotNull Class<? extends ObjectType> type)
Collection<SingleCacheStateInformationType>
getStateInformation()
void
initialize()
boolean
isAvailable()
<T extends ObjectType>
voidput(GlobalCacheObjectValue<T> cacheObject)
void
remove(@NotNull Class<?> type, String oid)
void
remove(@NotNull String oid)
-
Methods inherited from class com.evolveum.midpoint.repo.cache.global.AbstractGlobalCache
getConfiguration, getConfiguration, hasClusterwideInvalidationFor, shouldDoSafeRemoteInvalidationFor
-
-
-
-
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 @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
-
getStateInformation
public Collection<SingleCacheStateInformationType> getStateInformation()
-
dumpContent
public void dumpContent()
-
getNextVersionCheckTime
public Long getNextVersionCheckTime(@NotNull @NotNull Class<? extends ObjectType> type)
-
-