Class RedisCacheFactory
- java.lang.Object
-
- org.opennms.netmgt.newts.support.osgi.RedisCacheFactory
-
- All Implemented Interfaces:
CacheFactory<RedisResourceMetadataCache>
public class RedisCacheFactory extends Object implements CacheFactory<RedisResourceMetadataCache>
-
-
Constructor Summary
Constructors Constructor Description RedisCacheFactory(String hostname, int port, int numWriterThreads, com.codahale.metrics.MetricRegistry registry, org.opennms.newts.cassandra.search.ResourceIdSplitter resourceIdSplitter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedisResourceMetadataCache
createCache()
Class<RedisResourceMetadataCache>
supportedType()
-
-
-
Constructor Detail
-
RedisCacheFactory
public RedisCacheFactory(String hostname, int port, int numWriterThreads, com.codahale.metrics.MetricRegistry registry, org.opennms.newts.cassandra.search.ResourceIdSplitter resourceIdSplitter)
-
-
Method Detail
-
supportedType
public Class<RedisResourceMetadataCache> supportedType()
- Specified by:
supportedType
in interfaceCacheFactory<RedisResourceMetadataCache>
-
createCache
public RedisResourceMetadataCache createCache()
- Specified by:
createCache
in interfaceCacheFactory<RedisResourceMetadataCache>
-
-