インターフェース RedisConnectionCommands

既知のすべてのサブインターフェース:
DefaultedRedisClusterConnection, DefaultedRedisConnection, RedisClusterConnection, RedisCommands, RedisConnection, RedisConnectionUtils.RedisConnectionProxy, StringRedisConnection
すべての既知の実装クラス:
AbstractRedisConnection, DefaultStringRedisConnection, JedisClusterConnection, JedisConnection, LettuceClusterConnection, LettuceConnection

@NullUnmarked public interface RedisConnectionCommands
Redis でサポートされている接続固有のコマンド。
作成者:
Costin Leau, Christoph Strobl, Mark Paluch
  • 方法の概要

    修飾子と型
    メソッド
    説明
    byte[]
    echo(byte @NonNull[] message)
    サーバーラウンドトリップを介して message を返します。
    接続のテスト。
    void
    select(int dbIndex)
    正の dbIndex が指定された DB を選択します。
  • 方法の詳細

    • select

      void select(int dbIndex)
      正の dbIndex が指定された DB を選択します。
      パラメーター:
      dbIndex - データベースインデックス。
      関連事項:
    • echo

      byte[] echo(byte @NonNull [] message)
      サーバーラウンドトリップを介して message を返します。
      パラメーター:
      message - エコーするメッセージ。
      戻り値:
      メッセージまたはパイプライン / トランザクションで使用される場合は null。
      関連事項:
    • ping

      StringSE ping()
      接続のテスト。
      戻り値:
      サーバーレスポンスメッセージ - 通常は PONG。パイプライン / トランザクションで使用される場合は null。
      関連事項: