public class RedisClusterStateQuerier extends AbstractRedisStateQuerier<RedisClusterState>
BaseQueryFunction implementation for Redis Cluster environment.
AbstractRedisStateQuerier
,
Serialized FormadditionalKey, dataType
Constructor and Description |
---|
RedisClusterStateQuerier(RedisLookupMapper lookupMapper)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected List<String> |
retrieveValuesFromRedis(RedisClusterState state,
List<String> keys)
Retrieves values from Redis that each value is corresponding to each key.
|
batchRetrieve, execute
cleanup, prepare
public RedisClusterStateQuerier(RedisLookupMapper lookupMapper)
Constructor
lookupMapper
- mapper for queryingprotected List<String> retrieveValuesFromRedis(RedisClusterState state, List<String> keys)
Retrieves values from Redis that each value is corresponding to each key.
retrieveValuesFromRedis
in class AbstractRedisStateQuerier<RedisClusterState>
state
- State for handling querykeys
- keys having state valuesCopyright © 2019 The Apache Software Foundation. All Rights Reserved.