struct Wraith::HashEntry(V)
- Wraith::HashEntry(V)
- Struct
- Value
- Object
Overview
Wraps Hash values. Each entry has a value and expiration.
Included Modules
- MessagePack::Serializable
Defined in:
wraithdb/stores/hash_entry.crConstructors
Instance Method Summary
-
#expired?
Checks if the entry is expired.
- #expires_at
- #expires_in_ms : Int64 | Nil
- #has_expiration?
- #update_expiration(ttl : Time::Span | Nil)
- #value
- #value=(value : V)