Package org.apache.ibatis.mapping
Class CacheBuilder
java.lang.Object
org.apache.ibatis.mapping.CacheBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private Long
private final String
private Properties
private boolean
private Integer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDecorator
(Class<? extends Cache> decorator) blocking
(boolean blocking) build()
clearInterval
(Long clearInterval) private Constructor
<? extends Cache> getBaseCacheConstructor
(Class<? extends Cache> cacheClass) private Constructor
<? extends Cache> getCacheDecoratorConstructor
(Class<? extends Cache> cacheClass) implementation
(Class<? extends Cache> implementation) private Cache
newBaseCacheInstance
(Class<? extends Cache> cacheClass, String id) private Cache
newCacheDecoratorInstance
(Class<? extends Cache> cacheClass, Cache base) properties
(Properties properties) readWrite
(boolean readWrite) private void
setCacheProperties
(Cache cache) private void
private Cache
setStandardDecorators
(Cache cache)
-
Field Details
-
id
-
implementation
-
decorators
-
size
-
clearInterval
-
readWrite
private boolean readWrite -
properties
-
blocking
private boolean blocking
-
-
Constructor Details
-
CacheBuilder
-
-
Method Details
-
implementation
-
addDecorator
-
size
-
clearInterval
-
readWrite
-
blocking
-
properties
-
build
-
setDefaultImplementations
private void setDefaultImplementations() -
setStandardDecorators
-
setCacheProperties
-
newBaseCacheInstance
-
getBaseCacheConstructor
-
newCacheDecoratorInstance
-
getCacheDecoratorConstructor
private Constructor<? extends Cache> getCacheDecoratorConstructor(Class<? extends Cache> cacheClass)
-