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
Modifier and TypeClassDescriptionclass
static enum
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondebugDump
(int indent) getForObjectType
(Class<?> type) getStatisticsLevel
(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration config) static boolean
getTraceMiss
(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration cacheConfig) static boolean
getTracePass
(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration cacheConfig) boolean
boolean
isClusterwideInvalidation
(Class<?> type) boolean
isSafeRemoteInvalidation
(Class<?> type) void
setClusterwideInvalidation
(Boolean clusterwideInvalidation) void
setMaxSize
(Integer maxSize) void
setSafeRemoteInvalidation
(Boolean safeRemoteInvalidation) void
setStatisticsLevel
(CacheConfiguration.StatisticsLevel statisticsLevel) void
setTimeToLive
(Integer timeToLive) void
setTraceMiss
(Boolean traceMiss) void
setTracePass
(Boolean tracePass) boolean
supportsObjectType
(Class<?> type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
debugDump
in 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
-