org.apache.ibatis.mapping
Class CacheBuilder

java.lang.Object
  extended by org.apache.ibatis.mapping.CacheBuilder

public class CacheBuilder
extends Object


Constructor Summary
CacheBuilder(String id)
           
 
Method Summary
 CacheBuilder addDecorator(Class<? extends Cache> decorator)
           
 Cache build()
           
 CacheBuilder clearInterval(Long clearInterval)
           
 CacheBuilder implementation(Class<? extends Cache> implementation)
           
 CacheBuilder properties(Properties properties)
           
 CacheBuilder readWrite(boolean readWrite)
           
 CacheBuilder size(Integer size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

properties

public CacheBuilder properties(Properties properties)

build

public Cache build()


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.