Lifetime
public enum Lifetime : Comparable, Hashable
The lifetime for a RedisKey
which has an expiry set.
-
The remaining time-to-live in seconds.
Declaration
Swift
case seconds(Int64)
-
The remaining time-to-live in milliseconds.
Declaration
Swift
case milliseconds(Int64)
-
The remaining time-to-live.
Declaration
Swift
public var timeAmount: TimeAmount { get }
-
Declaration
Swift
public static func < (lhs: Lifetime, rhs: Lifetime) -> Bool
-
Declaration
Swift
public static func == (lhs: Lifetime, rhs: Lifetime) -> Bool