インターフェース 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。
- 関連事項: