Class GuavaCacheFactory
- java.lang.Object
-
- org.opennms.netmgt.newts.support.osgi.GuavaCacheFactory
-
- All Implemented Interfaces:
CacheFactory<GuavaSearchableResourceMetadataCache>
public class GuavaCacheFactory extends java.lang.Object implements CacheFactory<GuavaSearchableResourceMetadataCache>
-
-
Constructor Summary
Constructors Constructor Description GuavaCacheFactory(long cacheSize, com.codahale.metrics.MetricRegistry metricRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GuavaSearchableResourceMetadataCache
createCache()
java.lang.Class<GuavaSearchableResourceMetadataCache>
supportedType()
-
-
-
Method Detail
-
supportedType
public java.lang.Class<GuavaSearchableResourceMetadataCache> supportedType()
- Specified by:
supportedType
in interfaceCacheFactory<GuavaSearchableResourceMetadataCache>
-
createCache
public GuavaSearchableResourceMetadataCache createCache()
- Specified by:
createCache
in interfaceCacheFactory<GuavaSearchableResourceMetadataCache>
-
-