クラス ConfigureNotifyKeyspaceEventsAction

java.lang.ObjectSE
org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction
実装されたすべてのインターフェース:
ConfigureRedisAction

public class ConfigureNotifyKeyspaceEventsAction extends ObjectSE implements ConfigureRedisAction

Generic コマンドおよび Expired イベントの Redis キースペースイベントが有効になっていることを確認します。例: 次のように設定される場合があります。

 config set notify-keyspace-events Egx
 

Redis インスタンスが適切に保護されている場合、この戦略は機能しません。代わりに、Redis インスタンスを外部で構成し、型 ConfigureRedisAction.NO_OP の Bean を公開する必要があります。

導入:
1.0.1
  • コンストラクターの詳細

    • ConfigureNotifyKeyspaceEventsAction

      public ConfigureNotifyKeyspaceEventsAction()
  • メソッドの詳細

    • configure

      public void configure(org.springframework.data.redis.connection.RedisConnection connection)
      次で指定:
      インターフェース ConfigureRedisActionconfigure