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 String
description()
void
dumpContent(String threadName)
String
get(String oid)
protected int
getSize()
void
put(PrismObject<?> object)
void
put(String oid, String version)
void
remove(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:
description
in classAbstractThreadLocalCache
-
getSize
protected int getSize()
- Specified by:
getSize
in classAbstractThreadLocalCache
-
dumpContent
public void dumpContent(String threadName)
- Specified by:
dumpContent
in classAbstractThreadLocalCache
-
-