VertexCacheSdk.Command.Impl.DelCommand (vertexcache_sdk v1.0.0)
View SourceHandles the DEL command in VertexCache.
Deletes a key and its associated value from the cache. If the system is configured to allow idempotent deletes, then attempting to delete a non-existent key will still return a success response ("OK DEL (noop)").
Requires the client to have WRITE or ADMIN access.
Configuration:
del_command_idempotent
: when true, deletion of missing keys does not result in an error.
Summary
Types
@type t() :: %VertexCacheSdk.Command.Impl.DelCommand{key: String.t()}
Functions
@spec execute(t(), VertexCacheSdk.Comm.ClientConnector.t()) :: VertexCacheSdk.Model.CommandResult.t()
@spec parse_response(String.t()) :: :ok
Callback implementation for VertexCacheSdk.Command.parse_response/1
.