Set_AddAdds a single member to a Redis set at the given key, creating the set if needed, and returns a result record with status and an error message when the add fails (wrapper over SADD for one value).
Set_AddMultipleAdds multiple members to a set from an OutSystems list of RedisValue records, returning the number of elements that were actually newly added to the set (not counting existing ones).
Set_RemoveRemoves a single member from the set at the specified key and returns an operation result indicating success or failure, effectively wrapping SREM for one element.
Set_RemoveMultipleRemoves multiple specified members from a set and outputs how many elements were actually removed, ignoring values that were not present in the set.
Set_LengthReturns the cardinality of the set stored at the given key, or zero when the key does not exist, mapping directly to the Redis SCARD command.
Set_MembersRetrieves all members of a set as an OutSystems list of RedisValue records, using RedisStore.SetMembers under the hood (equivalent to SMEMBERS).
Set_ContainsChecks whether a given value is a member of the set at the specified key and returns a boolean flag, corresponding to the Redis SISMEMBER command.
AcquireLockTries to acquire a distributed lock for a resource key using RedLock.NET, with configurable expiry, wait, and retry times, returning both a RedLock object (to be kept in scope) and a flag indicating if the lock was acquired.
ReleaseLockReleases a previously acquired distributed lock by casting the stored lock object back to IRedLock and delegating to RedisStore.ReleaseLock.
ListKeysLists Redis keys that match a given pattern with paging (page size and offset), and for each key fills an OutSystems record with the key name, type, TTL in seconds, and whether it is permanent; the result record is always successful.
GetTypeReturns the Redis data type for a single key (for example, string, set, list) and sets the status code to error when no entry is found (type “None”).
GetTimeToLiveRetrieves the TTL for a key, returning whether the key is permanent and its remaining lifetime in seconds, always marking the operation as successful even if the key has no expiration.
ExpireKeySets an expiration (in seconds) on a key using RedisStore.Expire, returning a result record that indicates if the expiration was successfully applied.
IncrementKeyAtomically increments the numeric value stored at a key and outputs the new value along with a status record that reports an error when the resulting value is not greater than zero.
DeleteKeyDeletes a key and any associated value regardless of data type, returning a success status when the key was removed and an error message if the delete operation fails.
SetPermStringValueWrites a string value to a key without expiration, signaling success when a non‑null value is provided and the underlying Redis set operation succeeds.
GetStringValueReads a string value from Redis into an OutSystems text output parameter, marking the operation as an error when the key does not exist or returns null.
SetStringValueWrites a string value with a specific TTL (in seconds) to Redis, combining value assignment and expiration in a single call and returning a result record for success or failure.