org.smallmind.quorum.cache.indigenous
Class CacheBuilder

java.lang.Object
  extended by org.smallmind.quorum.cache.indigenous.CacheBuilder

public class CacheBuilder
extends Object


Constructor Summary
CacheBuilder()
           
 
Method Summary
static
<K,V> AbstractCache
buildLeastRecentlyUsedCache(String cacheName, TimestampedCacheSource<K,V> cacheSource, int limit)
           
static
<K,V> AbstractCache
buildLeastRecentlyUsedCache(String cacheName, TimestampedCacheSource<K,V> cacheSource, int limit, int timeToLiveSeconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheBuilder

public CacheBuilder()
Method Detail

buildLeastRecentlyUsedCache

public static <K,V> AbstractCache buildLeastRecentlyUsedCache(String cacheName,
                                                              TimestampedCacheSource<K,V> cacheSource,
                                                              int limit)
                                                 throws CacheException
Throws:
CacheException

buildLeastRecentlyUsedCache

public static <K,V> AbstractCache buildLeastRecentlyUsedCache(String cacheName,
                                                              TimestampedCacheSource<K,V> cacheSource,
                                                              int limit,
                                                              int timeToLiveSeconds)
                                                 throws CacheException
Throws:
CacheException


Copyright © 2012. All Rights Reserved.