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 void
clear()
void
destroy()
void
dumpContent()
String
get(String oid)
protected CacheType
getCacheType()
Collection<SingleCacheStateInformationType>
getStateInformation()
void
initialize()
boolean
isAvailable()
<T extends ObjectType>
voidput(PrismObject<T> object)
void
put(String oid, Class<? extends ObjectType> type, String version)
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()
-
remove
public void remove(@NotNull @NotNull String oid)
-
getCacheType
protected CacheType getCacheType()
- Specified by:
getCacheType
in classAbstractGlobalCache
-
clear
public void clear()
- Specified by:
clear
in 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()
-
-