Class LocalVersionCache
- java.lang.Object
-
- com.evolveum.midpoint.util.caching.AbstractThreadLocalCache
-
- com.evolveum.midpoint.repo.cache.local.LocalVersionCache
-
public class LocalVersionCache extends AbstractThreadLocalCache
Thread-local cache for object version.
-
-
Constructor Summary
Constructors Constructor Description LocalVersionCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()voiddumpContent(String threadName)Stringget(String oid)protected intgetSize()voidput(PrismObject<?> object)voidput(String oid, String version)voidremove(String oid)-
Methods inherited from class com.evolveum.midpoint.util.caching.AbstractThreadLocalCache
debugDump, destroy, dumpContent, enter, exists, exit, getConfiguration, getConfiguration, getEntryCount, getTotalSize, isAvailable, registerHit, registerMiss, registerPass, setConfiguration, supportsObjectType, toString
-
-
-
-
Method Detail
-
put
public void put(PrismObject<?> object)
-
remove
public void remove(String oid)
-
description
public String description()
- Specified by:
descriptionin classAbstractThreadLocalCache
-
getSize
protected int getSize()
- Specified by:
getSizein classAbstractThreadLocalCache
-
dumpContent
public void dumpContent(String threadName)
- Specified by:
dumpContentin classAbstractThreadLocalCache
-
-