Class ConfigureNotifyKeyspaceEventsAction

All Implemented Interfaces:

public class ConfigureNotifyKeyspaceEventsAction extends Object implements ConfigureRedisAction

Ensures that Redis Keyspace events for Generic commands and Expired events are enabled. For example, it might set the following:

 config set notify-keyspace-events Egx

This strategy will not work if the Redis instance has been properly secured. Instead, the Redis instance should be configured externally and a Bean of type ConfigureRedisAction.NO_OP should be exposed.

  • Constructor Details

    • ConfigureNotifyKeyspaceEventsAction

      public ConfigureNotifyKeyspaceEventsAction()
  • Method Details

    • configure

      public void configure( connection)
      Specified by:
      configure in interface ConfigureRedisAction