Class DisabledVirAttrCache
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.cache.DisabledVirAttrCache
-
- All Implemented Interfaces:
VirAttrCache
public class DisabledVirAttrCache extends Object implements VirAttrCache
Empty virtual attribute value cache implementation.
-
-
Constructor Summary
Constructors Constructor Description DisabledVirAttrCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
expire(VirAttrCacheKey key)
Force entry expiring.VirAttrCacheValue
get(VirAttrCacheKey key)
Retrieve cached value.VirAttrCacheValue
put(VirAttrCacheKey key, VirAttrCacheValue value)
Cache virtual attribute values.void
setCacheSpec(String cacheSpec)
-
-
-
Method Detail
-
setCacheSpec
public void setCacheSpec(String cacheSpec)
- Specified by:
setCacheSpec
in interfaceVirAttrCache
-
expire
public void expire(VirAttrCacheKey key)
Description copied from interface:VirAttrCache
Force entry expiring.- Specified by:
expire
in interfaceVirAttrCache
- Parameters:
key
- cache key
-
get
public VirAttrCacheValue get(VirAttrCacheKey key)
Description copied from interface:VirAttrCache
Retrieve cached value. Return null in case of virtual attribute not cached.- Specified by:
get
in interfaceVirAttrCache
- Parameters:
key
- cache key- Returns:
- cached values or null if virtual attribute is not cached.
-
put
public VirAttrCacheValue put(VirAttrCacheKey key, VirAttrCacheValue value)
Description copied from interface:VirAttrCache
Cache virtual attribute values.- Specified by:
put
in interfaceVirAttrCache
- Parameters:
key
- cache keyvalue
- virtual attribute values- Returns:
- value after caching
-
-