- Type Parameters:
K- Key type.V- Value type.
public class DateOutput<K,V> extends CommandOutput<K,V,Date>
Date output with no milliseconds.
- Author:
- Will Glozer, Mark Paluch
-
Field Summary
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output -
Constructor Summary
Constructors Constructor Description DateOutput(RedisCodec<K,V> codec) -
Method Summary
Modifier and Type Method Description voidset(long time)Update the command output with a 64-bit signed integer.Methods inherited from class io.lettuce.core.output.CommandOutput
complete, decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, set, setBigNumber, setError, setError, setSingle, toString
-
Constructor Details
-
DateOutput
-
-
Method Details
-
set
public void set(long time)Description copied from class:CommandOutputUpdate the command output with a 64-bit signed integer. ConcreteCommandOutputimplementations must override this method to decodenumber(integer) response values.- Overrides:
setin classCommandOutput<K,V,Date>- Parameters:
time- The command output.
-