Package | Description |
---|---|
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 |
TODO fillme.
|
org.apache.ibatis.session |
Base package.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
Cache |
MapperBuilderAssistant.useNewCache(Class<? extends Cache> typeClass,
Class<? extends Cache> evictionClass,
Long flushInterval,
Integer size,
boolean readWrite,
boolean blocking,
Properties props) |
Cache |
MapperBuilderAssistant.useNewCache(Class<? extends Cache> typeClass,
Class<? extends Cache> evictionClass,
Long flushInterval,
Integer size,
boolean readWrite,
boolean blocking,
Properties props) |
Modifier and Type | Method and Description |
---|---|
void |
TransactionalCacheManager.clear(Cache cache) |
Object |
TransactionalCacheManager.getObject(Cache cache,
CacheKey key) |
void |
TransactionalCacheManager.putObject(Cache cache,
CacheKey key,
Object value) |
Modifier and Type | Class and 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.
|
Constructor and 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) |
Modifier and Type | Class and Description |
---|---|
class |
PerpetualCache |
Modifier and Type | Method and Description |
---|---|
Cache |
CacheBuilder.build() |
Cache |
MappedStatement.getCache() |
Modifier and Type | Method and Description |
---|---|
MappedStatement.Builder |
MappedStatement.Builder.cache(Cache cache) |
Modifier and Type | Method and Description |
---|---|
CacheBuilder |
CacheBuilder.addDecorator(Class<? extends Cache> decorator) |
CacheBuilder |
CacheBuilder.implementation(Class<? extends Cache> implementation) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Cache> |
Configuration.caches |
Modifier and Type | Method and Description |
---|---|
Cache |
Configuration.getCache(String id) |
Modifier and Type | Method and Description |
---|---|
Collection<Cache> |
Configuration.getCaches() |
Modifier and Type | Method and Description |
---|---|
void |
Configuration.addCache(Cache cache) |
Copyright © 2010–2015 MyBatis.org. All rights reserved.