Package org.apache.ibatis.annotations
Annotation Type CacheNamespace
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface CacheNamespace- Author:
- Clinton Begin, Kazuki Shimizu
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanblockingjava.lang.Class<? extends Cache>evictionlongflushIntervaljava.lang.Class<? extends Cache>implementationProperty[]propertiesProperty values for a implementation object.booleanreadWriteintsize
-
-
-
Element Detail
-
implementation
java.lang.Class<? extends Cache> implementation
- Default:
- org.apache.ibatis.cache.impl.PerpetualCache.class
-
-
-
eviction
java.lang.Class<? extends Cache> eviction
- Default:
- org.apache.ibatis.cache.decorators.LruCache.class
-
-
-
properties
Property[] properties
Property values for a implementation object.- Since:
- 3.4.2
- Default:
- {}
-
-