abstract struct Agave::Commands::Command
- Agave::Commands::Command
- Struct
- Value
- Object
Direct Known Subclasses
- Agave::Commands::COMMAND
- Agave::Commands::DEL
- Agave::Commands::EXISTS
- Agave::Commands::EXPIRE
- Agave::Commands::Floats
- Agave::Commands::FLUSHDB
- Agave::Commands::GET
- Agave::Commands::Hashes
- Agave::Commands::Integers
- Agave::Commands::KEYS
- Agave::Commands::Lists
- Agave::Commands::PING
- Agave::Commands::PTTL
- Agave::Commands::SET
- Agave::Commands::Sets
- Agave::Commands::TOGGLE
- Agave::Commands::TTL
- Agave::Commands::TYPE
Defined in:
commands.crConstructors
Class Method Summary
Instance Method Summary
- #call
- #check_expired!(*keys : String, now : Time = Time.utc)
- #command : Array(Value)
- #data : Data
- #expirations : Expirations
- #key
- #key_index
-
#lock(key : String, &)
EXPERIMENTAL Acquiring locks on keys is experimental and not guaranteed to work in a multithreaded environment
Macro Summary
Constructor Detail
def self.new(command : Array(Agave::Value), data : Hash(String, Array(Agave::Value) | Bool | Float64 | Hash(String, Agave::Value) | Int64 | Set(Agave::Value) | String | Time), expirations : Hash(String, Time), locks : Agave::LockPool)
#
Class Method Detail
Instance Method Detail
EXPERIMENTAL Acquiring locks on keys is experimental and not guaranteed to work in a multithreaded environment