Module lettuce.core

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
  • Constructor Details

    • DateOutput

      public DateOutput​(RedisCodec<K,​V> codec)
  • Method Details

    • 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.