インターフェース RedisConnectionCommands

すべての既知のサブインターフェース:
DefaultedRedisClusterConnectionDefaultedRedisConnectionRedisClusterConnectionRedisCommandsRedisConnectionRedisConnectionUtils.RedisConnectionProxyStringRedisConnection
すべての既知の実装クラス:
AbstractRedisConnectionDefaultStringRedisConnectionJedisClusterConnectionJedisConnectionLettuceClusterConnectionLettuceConnection

public interface RedisConnectionCommands
Redis でサポートされている接続固有のコマンド。
作成者:
Costin Leau, Christoph Strobl, Mark Paluch
  • メソッドのサマリー

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

    • select

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

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

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