Class GlobalVersionCache
- java.lang.Object
-
- com.evolveum.midpoint.repo.cache.global.AbstractGlobalCache
-
- com.evolveum.midpoint.repo.cache.global.GlobalVersionCache
-
@Component public class GlobalVersionCache extends AbstractGlobalCache
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.cache.global.AbstractGlobalCache
configurationManager, prismContext
-
-
Constructor Summary
Constructors Constructor Description GlobalVersionCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voiddestroy()voiddumpContent()Stringget(String oid)protected CacheTypegetCacheType()Collection<SingleCacheStateInformationType>getStateInformation()voidinitialize()booleanisAvailable()<T extends ObjectType>
voidput(PrismObject<T> object)voidput(String oid, Class<? extends ObjectType> type, String version)voidremove(@NotNull Class<?> type, String oid)voidremove(@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()
-
remove
public void remove(@NotNull @NotNull String oid)
-
getCacheType
protected CacheType getCacheType()
- Specified by:
getCacheTypein classAbstractGlobalCache
-
clear
public void clear()
- Specified by:
clearin classAbstractGlobalCache
-
getStateInformation
public Collection<SingleCacheStateInformationType> getStateInformation()
-
put
public <T extends ObjectType> void put(PrismObject<T> object)
-
put
public void put(String oid, Class<? extends ObjectType> type, String version)
-
dumpContent
public void dumpContent()
-
-