public class CacheBuilder extends Object
Constructor and Description |
---|
CacheBuilder(String id) |
Modifier and Type | Method and 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) |
public CacheBuilder(String id)
public CacheBuilder implementation(Class<? extends Cache> implementation)
public CacheBuilder addDecorator(Class<? extends Cache> decorator)
public CacheBuilder size(Integer size)
public CacheBuilder clearInterval(Long clearInterval)
public CacheBuilder readWrite(boolean readWrite)
public CacheBuilder blocking(boolean blocking)
public CacheBuilder properties(Properties properties)
public Cache build()
Copyright © 2010–2015 MyBatis.org. All rights reserved.