インターフェース RedisConnectionCommands
- すべての既知のサブインターフェース:
DefaultedRedisClusterConnection
、DefaultedRedisConnection
、RedisClusterConnection
、RedisCommands
、RedisConnection
、RedisConnectionUtils.RedisConnectionProxy
、StringRedisConnection
- すべての既知の実装クラス:
AbstractRedisConnection
、DefaultStringRedisConnection
、JedisClusterConnection
、JedisConnection
、LettuceClusterConnection
、LettuceConnection
public interface RedisConnectionCommands
Redis でサポートされている接続固有のコマンド。
- 作成者:
- Costin Leau, Christoph Strobl, Mark Paluch
メソッドのサマリー
メソッドの詳細
select
void select(int dbIndex) 正のdbIndex
が指定された DB を選択します。- パラメーター:
dbIndex
- データベースインデックス。- 関連事項:
echo
サーバーラウンドトリップを介してmessage
を返します。- パラメーター:
message
- エコーするメッセージ。- 戻り値:
- メッセージまたはパイプライン / トランザクションで使用される場合は null。
- 関連事項:
ping
接続のテスト。- 戻り値:
- サーバーレスポンスメッセージ - 通常は PONG。パイプライン / トランザクションで使用される場合は null。
- 関連事項: