Class CacheConfiguration
java.lang.Object
com.evolveum.midpoint.util.caching.CacheConfiguration
- All Implemented Interfaces:
DebugDumpable
This is a "compiled" configuration for a cache.
It is usually created by composing cache profiles defined using common-3 schema.
(Even if the schema itself is not available in this module.)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic enum -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondebugDump(int indent) getForObjectType(Class<?> type) getStatisticsLevel(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration config) static booleangetTraceMiss(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration cacheConfig) static booleangetTracePass(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration cacheConfig) booleanbooleanisClusterwideInvalidation(Class<?> type) booleanisSafeRemoteInvalidation(Class<?> type) voidsetClusterwideInvalidation(Boolean clusterwideInvalidation) voidsetMaxSize(Integer maxSize) voidsetSafeRemoteInvalidation(Boolean safeRemoteInvalidation) voidsetStatisticsLevel(CacheConfiguration.StatisticsLevel statisticsLevel) voidsetTimeToLive(Integer timeToLive) voidsetTraceMiss(Boolean traceMiss) voidsetTracePass(Boolean tracePass) booleansupportsObjectType(Class<?> type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
CacheConfiguration
public CacheConfiguration()
-
-
Method Details
-
supportsObjectType
-
getForObjectType
-
isAvailable
public boolean isAvailable() -
getMaxSize
-
setMaxSize
-
getTimeToLive
-
setTimeToLive
-
getTraceMiss
-
setTraceMiss
-
getTracePass
-
setTracePass
-
getStatisticsLevel
-
setStatisticsLevel
-
getClusterwideInvalidation
-
setClusterwideInvalidation
-
getSafeRemoteInvalidation
-
setSafeRemoteInvalidation
-
getObjectTypes
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
getTraceMiss
public static boolean getTraceMiss(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration cacheConfig) -
getTracePass
public static boolean getTracePass(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration cacheConfig) -
getStatisticsLevel
public static CacheConfiguration.StatisticsLevel getStatisticsLevel(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration config) -
isClusterwideInvalidation
-
isSafeRemoteInvalidation
-