Uses of Interface
org.apache.ibatis.cache.Cache
-
Packages that use Cache Package Description org.apache.ibatis.annotations Contains all the annotation that are used in mapper interfacesorg.apache.ibatis.builder Base package for the Configuration building codeorg.apache.ibatis.cache Base package for caching stufforg.apache.ibatis.cache.decorators Contains cache decoratorsorg.apache.ibatis.cache.impl Contains the default cache implementationorg.apache.ibatis.mapping Base package for mapping.org.apache.ibatis.session Base package. -
-
Uses of Cache in org.apache.ibatis.annotations
Methods in org.apache.ibatis.annotations that return types with arguments of type Cache Modifier and Type Method Description java.lang.Class<? extends Cache>
eviction()
Returns the cache evicting implementation type to use.java.lang.Class<? extends Cache>
implementation()
Returns the cache implementation type to use. -
Uses of Cache in org.apache.ibatis.builder
Methods in org.apache.ibatis.builder that return Cache Modifier and Type Method Description Cache
CacheRefResolver. resolveCacheRef()
Cache
MapperBuilderAssistant. useCacheRef(java.lang.String namespace)
Cache
MapperBuilderAssistant. useNewCache(java.lang.Class<? extends Cache> typeClass, java.lang.Class<? extends Cache> evictionClass, java.lang.Long flushInterval, java.lang.Integer size, boolean readWrite, boolean blocking, java.util.Properties props)
Method parameters in org.apache.ibatis.builder with type arguments of type Cache Modifier and Type Method Description Cache
MapperBuilderAssistant. useNewCache(java.lang.Class<? extends Cache> typeClass, java.lang.Class<? extends Cache> evictionClass, java.lang.Long flushInterval, java.lang.Integer size, boolean readWrite, boolean blocking, java.util.Properties props)
-
Uses of Cache in org.apache.ibatis.cache
Methods in org.apache.ibatis.cache with parameters of type Cache Modifier and Type Method Description void
TransactionalCacheManager. clear(Cache cache)
java.lang.Object
TransactionalCacheManager. getObject(Cache cache, CacheKey key)
void
TransactionalCacheManager. putObject(Cache cache, CacheKey key, java.lang.Object value)
-
Uses of Cache in org.apache.ibatis.cache.decorators
Classes in org.apache.ibatis.cache.decorators that implement Cache Modifier and Type Class Description class
BlockingCache
Simple blocking decorator Simple and inefficient version of EhCache's BlockingCache decorator.class
FifoCache
FIFO (first in, first out) cache decorator.class
LoggingCache
class
LruCache
Lru (least recently used) cache decorator.class
ScheduledCache
class
SerializedCache
class
SoftCache
Soft Reference cache decorator Thanks to Dr.class
SynchronizedCache
class
TransactionalCache
The 2nd level cache transactional buffer.class
WeakCache
Weak Reference cache decorator.Constructors in org.apache.ibatis.cache.decorators with parameters of type Cache Constructor Description BlockingCache(Cache delegate)
FifoCache(Cache delegate)
LoggingCache(Cache delegate)
LruCache(Cache delegate)
ScheduledCache(Cache delegate)
SerializedCache(Cache delegate)
SoftCache(Cache delegate)
SynchronizedCache(Cache delegate)
TransactionalCache(Cache delegate)
WeakCache(Cache delegate)
-
Uses of Cache in org.apache.ibatis.cache.impl
Classes in org.apache.ibatis.cache.impl that implement Cache Modifier and Type Class Description class
PerpetualCache
-
Uses of Cache in org.apache.ibatis.mapping
Methods in org.apache.ibatis.mapping that return Cache Modifier and Type Method Description Cache
CacheBuilder. build()
Cache
MappedStatement. getCache()
Methods in org.apache.ibatis.mapping with parameters of type Cache Modifier and Type Method Description MappedStatement.Builder
MappedStatement.Builder. cache(Cache cache)
Method parameters in org.apache.ibatis.mapping with type arguments of type Cache Modifier and Type Method Description CacheBuilder
CacheBuilder. addDecorator(java.lang.Class<? extends Cache> decorator)
CacheBuilder
CacheBuilder. implementation(java.lang.Class<? extends Cache> implementation)
-
Uses of Cache in org.apache.ibatis.session
Fields in org.apache.ibatis.session with type parameters of type Cache Modifier and Type Field Description protected java.util.Map<java.lang.String,Cache>
Configuration. caches
Methods in org.apache.ibatis.session that return Cache Modifier and Type Method Description Cache
Configuration. getCache(java.lang.String id)
Methods in org.apache.ibatis.session that return types with arguments of type Cache Modifier and Type Method Description java.util.Collection<Cache>
Configuration. getCaches()
Methods in org.apache.ibatis.session with parameters of type Cache Modifier and Type Method Description void
Configuration. addCache(Cache cache)
-