Redis.setex

The command is exactly equivalent to the following group of commands: {@link #set(string, string) SET} + {@link #expire(string, int) EXPIRE}. The operation is atomic. <p> Time complexity: O(1) @param key @param seconds @param value @return Status code reply

  1. string setex(string key, int seconds, string value)
    class Redis
    string
    setex
    (
    string key
    ,,
    string value
    )
  2. alias setex = BinaryRedis.setex

Meta