Package io.lettuce.core.output
Class DateOutput<K,V>
- java.lang.Object
-
- io.lettuce.core.output.CommandOutput<K,V,Date>
-
- io.lettuce.core.output.DateOutput<K,V>
-
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
set(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 Detail
-
DateOutput
public DateOutput(RedisCodec<K,V> codec)
-
-
Method Detail
-
set
public void set(long time)
Description copied from class:CommandOutput
Update the command output with a 64-bit signed integer. ConcreteCommandOutput
implementations must override this method to decodenumber
(integer) response values.- Overrides:
set
in classCommandOutput<K,V,Date>
- Parameters:
time
- The command output.
-
-