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