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 SummaryNested ClassesModifier and TypeClassDescriptionclassstatic enum
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Constructor Details- 
CacheConfigurationpublic CacheConfiguration()
 
- 
- 
Method Details- 
supportsObjectType
- 
getForObjectType
- 
isAvailablepublic boolean isAvailable()
- 
getMaxSize
- 
setMaxSize
- 
getTimeToLive
- 
setTimeToLive
- 
getTraceMiss
- 
setTraceMiss
- 
getTracePass
- 
setTracePass
- 
getStatisticsLevel
- 
setStatisticsLevel
- 
getClusterwideInvalidation
- 
setClusterwideInvalidation
- 
getSafeRemoteInvalidation
- 
setSafeRemoteInvalidation
- 
getObjectTypes
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
getTraceMisspublic static boolean getTraceMiss(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration cacheConfig) 
- 
getTracePasspublic static boolean getTracePass(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration cacheConfig) 
- 
getStatisticsLevelpublic static CacheConfiguration.StatisticsLevel getStatisticsLevel(CacheConfiguration.CacheObjectTypeConfiguration typeConfig, CacheConfiguration config) 
- 
isClusterwideInvalidation
- 
isSafeRemoteInvalidation
 
-