Package org.apache.ibatis.mapping
Class CacheBuilder
- java.lang.Object
-
- org.apache.ibatis.mapping.CacheBuilder
-
public class CacheBuilder extends java.lang.Object
- Author:
- Clinton Begin
-
-
Constructor Summary
Constructors Constructor Description CacheBuilder(java.lang.String id)
-
Method Summary
Modifier and Type Method Description CacheBuilder
addDecorator(java.lang.Class<? extends Cache> decorator)
CacheBuilder
blocking(boolean blocking)
Cache
build()
CacheBuilder
clearInterval(java.lang.Long clearInterval)
CacheBuilder
implementation(java.lang.Class<? extends Cache> implementation)
CacheBuilder
properties(java.util.Properties properties)
CacheBuilder
readWrite(boolean readWrite)
CacheBuilder
size(java.lang.Integer size)
-
-
-
Method Detail
-
implementation
public CacheBuilder implementation(java.lang.Class<? extends Cache> implementation)
-
addDecorator
public CacheBuilder addDecorator(java.lang.Class<? extends Cache> decorator)
-
size
public CacheBuilder size(java.lang.Integer size)
-
clearInterval
public CacheBuilder clearInterval(java.lang.Long clearInterval)
-
readWrite
public CacheBuilder readWrite(boolean readWrite)
-
blocking
public CacheBuilder blocking(boolean blocking)
-
properties
public CacheBuilder properties(java.util.Properties properties)
-
build
public Cache build()
-
-