org.apache.ibatis.annotations
Annotation Type CacheNamespace
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface CacheNamespace
implementation
public abstract Class<? extends Cache> implementation
- Default:
- org.apache.ibatis.cache.impl.PerpetualCache.class
eviction
public abstract Class<? extends Cache> eviction
- Default:
- org.apache.ibatis.cache.decorators.LruCache.class
flushInterval
public abstract long flushInterval
- Default:
- 3600000L
size
public abstract int size
- Default:
- 1000
readWrite
public abstract boolean readWrite
- Default:
- true
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.