Redis.persist

Undo a {@link #expire(string, int) expire} at turning the expire key into a normal key. <p> Time complexity: O(1) @param key @return Integer reply, specifically: 1: the key is now persist. 0: the key is not persist (only happens when key not set).

  1. Long persist(string key)
    class Redis
    Long
    persist
    (
    string key
    )
  2. alias persist = BinaryRedis.persist

Meta