Class RedisCacheFactory
- java.lang.Object
-
- org.opennms.netmgt.newts.support.osgi.RedisCacheFactory
-
- All Implemented Interfaces:
CacheFactory<RedisResourceMetadataCache>
public class RedisCacheFactory extends java.lang.Object implements CacheFactory<RedisResourceMetadataCache>
-
-
Constructor Summary
Constructors Constructor Description RedisCacheFactory(java.lang.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()
java.lang.Class<RedisResourceMetadataCache>
supportedType()
-
-
-
Method Detail
-
supportedType
public java.lang.Class<RedisResourceMetadataCache> supportedType()
- Specified by:
supportedType
in interfaceCacheFactory<RedisResourceMetadataCache>
-
createCache
public RedisResourceMetadataCache createCache()
- Specified by:
createCache
in interfaceCacheFactory<RedisResourceMetadataCache>
-
-