com.atlassian.cache.ehcache
Class EhCacheBuilder<K,V>

java.lang.Object
  extended by com.atlassian.cache.CacheBuilder<K,V>
      extended by com.atlassian.cache.ehcache.EhCacheBuilder<K,V>

public class EhCacheBuilder<K,V>
extends CacheBuilder<K,V>

Creates a Cache for the cacheName given.

Since:
2.0

Field Summary
protected  EhCacheManager factory
           
 
Fields inherited from class com.atlassian.cache.CacheBuilder
expireAfterAccess, expireAfterWrite, flushable, loader, local, maxEntries, name
 
Constructor Summary
EhCacheBuilder(java.lang.String name, EhCacheManager factory)
           
 
Method Summary
 Cache<K,V> build()
           
 
Methods inherited from class com.atlassian.cache.CacheBuilder
expireAfterAccess, expireAfterWrite, flushable, getName, loader, local, maxEntries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected final EhCacheManager factory
Constructor Detail

EhCacheBuilder

public EhCacheBuilder(@NotNull
                      java.lang.String name,
                      @NotNull
                      EhCacheManager factory)
Method Detail

build

public Cache<K,V> build()
Specified by:
build in class CacheBuilder<K,V>


Copyright © 2013 Atlassian. All Rights Reserved.