protected static class RedisClusterMapState.Factory extends Object implements StateFactory
RedisClusterMapState.Factory provides Redis Cluster environment version of StateFactory.
| Modifier and Type | Field and Description | 
|---|---|
| static redis.clients.jedis.JedisPoolConfig | DEFAULT_POOL_CONFIG | 
| Constructor and Description | 
|---|
| Factory(JedisClusterConfig jedisClusterConfig,
       StateType type,
       Options options)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| State | makeState(Map conf,
         IMetricsContext metrics,
         int partitionIndex,
         int numPartitions) | 
public static final redis.clients.jedis.JedisPoolConfig DEFAULT_POOL_CONFIG
public Factory(JedisClusterConfig jedisClusterConfig, StateType type, Options options)
Constructor
jedisClusterConfig - configuration for JedisClustertype - StateTypeoptions - options of Statepublic State makeState(Map conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
makeState in interface StateFactoryCopyright © 2019 The Apache Software Foundation. All Rights Reserved.