Package com.evolveum.midpoint.repo.cache
Class LocalObjectCache
- java.lang.Object
-
- com.evolveum.midpoint.util.caching.AbstractThreadLocalCache
-
- com.evolveum.midpoint.repo.cache.LocalObjectCache
-
public class LocalObjectCache extends AbstractThreadLocalCache
-
-
Constructor Summary
Constructors Constructor Description LocalObjectCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
PrismObject<? extends ObjectType>
get(String oid)
protected int
getSize()
void
put(String oid, PrismObject<? extends ObjectType> object)
void
remove(String oid)
-
Methods inherited from class com.evolveum.midpoint.util.caching.AbstractThreadLocalCache
debugDump, destroy, enter, exists, exit, getConfiguration, getConfiguration, getEntryCount, getTotalSize, isAvailable, registerHit, registerMiss, registerPass, setConfiguration, supportsObjectType, toString
-
-
-
-
Method Detail
-
get
public PrismObject<? extends ObjectType> get(String oid)
-
put
public void put(String oid, PrismObject<? extends ObjectType> 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
-
-