Class RedisClusterMapState.Factory
java.lang.Object
org.apache.storm.redis.trident.state.RedisClusterMapState.Factory
- All Implemented Interfaces:
- Serializable,- StateFactory
- Enclosing class:
- RedisClusterMapState<T>
RedisClusterMapState.Factory provides Redis Cluster environment version of StateFactory.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final org.apache.commons.pool2.impl.GenericObjectPoolConfig<redis.clients.jedis.Connection>
- 
Constructor SummaryConstructorsConstructorDescriptionFactory(JedisClusterConfig jedisClusterConfig, StateType type, Options options) Constructor.
- 
Method Summary
- 
Field Details- 
DEFAULT_POOL_CONFIGpublic static final org.apache.commons.pool2.impl.GenericObjectPoolConfig<redis.clients.jedis.Connection> DEFAULT_POOL_CONFIG
 
- 
- 
Constructor Details- 
FactoryConstructor.- Parameters:
- jedisClusterConfig- configuration for JedisCluster
- type- StateType
- options- options of State
 
 
- 
- 
Method Details- 
makeStatepublic State makeState(Map<String, Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions) - Specified by:
- makeStatein interface- StateFactory
 
 
-