Class 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
    • 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. Concrete CommandOutput implementations must override this method to decode number (integer) response values.
        Overrides:
        set in class CommandOutput<K,​V,​Date>
        Parameters:
        time - The command output.