Void command output to consume data silently without actually processing it. Creating VoidOutput.VoidCodec through its
constructor will preserve its error decoding since decoding errors is stateful. Obtaining VoidOutput through
create() will return an instance that does not decode errors.
Since:
6.0.2
Author:
Mark Paluch
Field Summary
Fields inherited from class io.lettuce.core.output.CommandOutput
Returns an instance of VoidOutput coerced to the expected generics. Since this codec does not decode any data at
all, it's safe to use this way. Note that this method is only suitable for fire-and-forget usage since errors are not
decoded.
Update the command output with a sequence of bytes, or null. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.
Update the command output with a 64-bit signed integer. Concrete CommandOutput implementations must override this
method to decode number (integer) response values.
Update the command output with a sequence of bytes, or null representing a simple string. Concrete
CommandOutput implementations must override this method to decode single/bytes response values.
Update the command output with a floating-point number. Concrete CommandOutput implementations must override this
method to decode double response values.