public interface CommandOutputFactoryResolver
CommandOutputFactory based on a OutputSelector. Resolution of
CommandOutputFactory is based on CommandMethod result types and can be
influenced whether the result type is a key or value result type. Additional type variables (based on the used
RedisCodec are hints to improve output resolution.OutputSelector| Modifier and Type | Method and Description |
|---|---|
CommandOutputFactory |
resolveCommandOutput(OutputSelector outputSelector)
Resolve a regular
CommandOutputFactory that produces the CommandOutput
result component type. |
CommandOutputFactory |
resolveStreamingCommandOutput(OutputSelector outputSelector)
Resolve a streaming
CommandOutputFactory that produces the StreamingOutput
result component type. |
CommandOutputFactory resolveCommandOutput(OutputSelector outputSelector)
CommandOutputFactory that produces the CommandOutput
result component type.outputSelector - must not be null.CommandOutputFactory if resolved, null otherwise.CommandOutputFactory resolveStreamingCommandOutput(OutputSelector outputSelector)
CommandOutputFactory that produces the StreamingOutput
result component type.outputSelector - must not be null.CommandOutputFactory that implements StreamingOutput if
resolved, null otherwise.Copyright © 2019 lettuce.io. All rights reserved.