Package org.opennms.core.cache
Class CacheBuilder<K,V>
- java.lang.Object
-
- org.opennms.core.cache.CacheBuilder<K,V>
-
public class CacheBuilder<K,V> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CacheBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cache<K,V>
build()
CacheBuilder
withCacheLoader(com.google.common.cache.CacheLoader<K,V> loader)
CacheBuilder
withConfig(CacheConfig config)
-
-
-
Method Detail
-
withConfig
public CacheBuilder withConfig(CacheConfig config)
-
withCacheLoader
public CacheBuilder withCacheLoader(com.google.common.cache.CacheLoader<K,V> loader)
-
-