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 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
Fields in org.apache.ibatis.builder declared as Cache Modifier and Type Field Description private Cache
MapperBuilderAssistant. currentCache
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
Fields in org.apache.ibatis.cache with type parameters of type Cache Modifier and Type Field Description private java.util.Map<Cache,TransactionalCache>
TransactionalCacheManager. transactionalCaches
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)
private TransactionalCache
TransactionalCacheManager. getTransactionalCache(Cache cache)
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 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.Fields in org.apache.ibatis.cache.decorators declared as Cache Modifier and Type Field Description private Cache
BlockingCache. delegate
private Cache
FifoCache. delegate
private Cache
LoggingCache. delegate
private Cache
LruCache. delegate
private Cache
ScheduledCache. delegate
private Cache
SerializedCache. delegate
private Cache
SoftCache. delegate
private Cache
SynchronizedCache. delegate
private Cache
TransactionalCache. delegate
private Cache
WeakCache. delegate
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
Fields in org.apache.ibatis.mapping declared as Cache Modifier and Type Field Description private Cache
MappedStatement. cache
Fields in org.apache.ibatis.mapping with type parameters of type Cache Modifier and Type Field Description private java.util.List<java.lang.Class<? extends Cache>>
CacheBuilder. decorators
private java.lang.Class<? extends Cache>
CacheBuilder. implementation
Methods in org.apache.ibatis.mapping that return Cache Modifier and Type Method Description Cache
CacheBuilder. build()
Cache
MappedStatement. getCache()
private Cache
CacheBuilder. newBaseCacheInstance(java.lang.Class<? extends Cache> cacheClass, java.lang.String id)
private Cache
CacheBuilder. newCacheDecoratorInstance(java.lang.Class<? extends Cache> cacheClass, Cache base)
private Cache
CacheBuilder. setStandardDecorators(Cache cache)
Methods in org.apache.ibatis.mapping that return types with arguments of type Cache Modifier and Type Method Description private java.lang.reflect.Constructor<? extends Cache>
CacheBuilder. getBaseCacheConstructor(java.lang.Class<? extends Cache> cacheClass)
private java.lang.reflect.Constructor<? extends Cache>
CacheBuilder. getCacheDecoratorConstructor(java.lang.Class<? extends Cache> cacheClass)
Methods in org.apache.ibatis.mapping with parameters of type Cache Modifier and Type Method Description MappedStatement.Builder
MappedStatement.Builder. cache(Cache cache)
private Cache
CacheBuilder. newCacheDecoratorInstance(java.lang.Class<? extends Cache> cacheClass, Cache base)
private void
CacheBuilder. setCacheProperties(Cache cache)
private Cache
CacheBuilder. setStandardDecorators(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)
private java.lang.reflect.Constructor<? extends Cache>
CacheBuilder. getBaseCacheConstructor(java.lang.Class<? extends Cache> cacheClass)
private java.lang.reflect.Constructor<? extends Cache>
CacheBuilder. getCacheDecoratorConstructor(java.lang.Class<? extends Cache> cacheClass)
CacheBuilder
CacheBuilder. implementation(java.lang.Class<? extends Cache> implementation)
private Cache
CacheBuilder. newBaseCacheInstance(java.lang.Class<? extends Cache> cacheClass, java.lang.String id)
private Cache
CacheBuilder. newCacheDecoratorInstance(java.lang.Class<? extends Cache> cacheClass, Cache base)
-
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)
-