RedisDatabase.expire

Set a key's time to live in seconds

  1. bool expire(string key, long seconds)
    struct RedisDatabase
    bool
    expire
    (
    string key
    ,
    long seconds
    )
  2. bool expire(string key, Duration timeout)

Meta