public class OutputSelector extends Object
CommandOutputFactory resolution.
A OutputSelector is based on the result ResolvableType and RedisCodec. The
codec supplies types for generics resolution of CommandOutput.
| Constructor and Description |
|---|
OutputSelector(ResolvableType outputType,
RedisCodec<?,?> redisCodec)
|
| Modifier and Type | Method and Description |
|---|---|
ResolvableType |
getOutputType() |
RedisCodec<?,?> |
getRedisCodec() |
public OutputSelector(ResolvableType outputType, RedisCodec<?,?> redisCodec)
outputType - must not be null.redisCodec - must not be null.public ResolvableType getOutputType()
public RedisCodec<?,?> getRedisCodec()
Copyright © 2020 lettuce.io. All rights reserved.