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 interfaces.org.apache.ibatis.builder Base package for the Configuration building code.org.apache.ibatis.cache Base package for caching stuff.org.apache.ibatis.cache.decorators Contains cache decorators.org.apache.ibatis.cache.impl Contains the default cache implementation.org.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 Class<? extends Cache>
eviction()
Returns the cache evicting implementation type to use.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(String namespace)
Cache
MapperBuilderAssistant. useNewCache(Class<? extends Cache> typeClass, Class<? extends Cache> evictionClass, Long flushInterval, Integer size, boolean readWrite, boolean blocking, Properties props)
Method parameters in org.apache.ibatis.builder with type arguments of type Cache Modifier and Type Method Description Cache
MapperBuilderAssistant. useNewCache(Class<? extends Cache> typeClass, Class<? extends Cache> evictionClass, Long flushInterval, Integer size, boolean readWrite, boolean blocking, 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)
Object
TransactionalCacheManager. getObject(Cache cache, CacheKey key)
void
TransactionalCacheManager. putObject(Cache cache, CacheKey key, 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 decoratorclass
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(Class<? extends Cache> decorator)
CacheBuilder
CacheBuilder. implementation(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 Map<String,Cache>
Configuration. caches
Methods in org.apache.ibatis.session that return Cache Modifier and Type Method Description Cache
Configuration. getCache(String id)
Methods in org.apache.ibatis.session that return types with arguments of type Cache Modifier and Type Method Description 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)
-