Skip to main content

Redis

This class serves as a wrapper for interacting with Redis. The class provides several static methods for interacting with Redis:

  • SetValue: Sets the value of a Redis key
  • GetValue: Retrieves the value of a Redis key
  • Remove: Removes a Redis key
  • SendMessage: Publishes a message to a Redis channel
  • HasKey: Checks if a Redis key exists
  • AddToList: Adds a value to a Redis list
  • GetListCount: Retrieves the count of elements in a Redis list
  • GetListValue: Retrieves a range of values from a Redis list