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 boolean
blocking
java.lang.Class<? extends Cache>
eviction
long
flushInterval
java.lang.Class<? extends Cache>
implementation
Property[]
properties
Property values for a implementation object.boolean
readWrite
int
size
-
-
-
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:
- {}
-
-