org.specrunner.util.cache.core
Class CacheFactoryDefault
java.lang.Object
org.specrunner.util.cache.core.AbstractCacheFactory
org.specrunner.util.cache.core.CacheFactoryDefault
- All Implemented Interfaces:
- ICacheFactory
public class CacheFactoryDefault
- extends AbstractCacheFactory
Default implementation.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheFactoryDefault
public CacheFactoryDefault()
create
protected <K,T> CacheLRU<K,T> create(String name,
ICacheCleaner<T> cleaner)
- Description copied from class:
AbstractCacheFactory
- Create the cache object.
- Specified by:
create in class AbstractCacheFactory
- Type Parameters:
K - Key type.T - Cache object type.- Parameters:
name - Cache name.cleaner - A cache cleaner.
- Returns:
- The cache instance.
Copyright © 2014. All rights reserved.