インターフェース ReactiveRedisConnection
- すべてのスーパーインターフェース:
AutoCloseableSE, CloseableSE
- 既知のすべてのサブインターフェース:
ReactiveRedisClusterConnection
リアクティブコマンド実行のエントリポイントを宣言するリアクティブインフラストラクチャを使用した Redis 接続。
ReactiveRedisConnection は通常、ステートフルオブジェクトによって実装されます。ステートフルオブジェクトは、不要になったときに closed である必要があります。
コマンドは、key や value のような単純な引数を渡すか、コマンドストリームにラップして実行できます。ストリーミングコマンド実行では、Publisher または特定の ReactiveRedisConnection.Command が受け入れられます。コマンドは発行時に実行されます。
引数は、ByteBufferSE 引数を使用することでバイナリセーフです。ByteBufferSE は、ReactiveRedisConnection の呼び出しまたは実行中に消費されると予想されます。メソッドパラメーターとして使用される ByteBufferSE は、呼び出し後に変更しないでください。
- 導入:
- 2.0
- 作成者:
- Christoph Strobl, Mark Paluch
- 関連事項:
ネストされたクラスの概要
ネストされたクラス修飾子と型インターフェース説明static classキーがない場合のByteBufferSE レスポンスのReactiveRedisConnection.CommandResponse実装。static classBooleanSE レスポンスのReactiveRedisConnection.CommandResponse実装。static classstatic interfaceリアクティブインフラストラクチャで実行される Redis コマンドのベースインターフェース。static classコマンドレスポンスの基本クラス。static classキーバインド操作用のReactiveRedisConnection.Command。static classstatic classListSE レスポンスのReactiveRedisConnection.CommandResponse実装。static classReactiveRedisConnection.NumericResponse<I, O extends NumberSE>numericSE レスポンスのReactiveRedisConnection.CommandResponse実装。static class方法の概要
修飾子と型メソッド説明default voidclose()接続を非同期的に閉じ、関連するリソースを解放します。ReactiveHashCommandsを取得します。ReactiveHyperLogLogCommandsを取得します。ReactiveKeyCommandsを取得します。ReactiveListCommandsを取得します。ping()接続のテスト。ReactivePubSubCommandsを取得します。ReactiveScriptingCommandsを取得します。ReactiveServerCommandsを取得します。ReactiveSetCommandsを取得します。ReactiveStreamCommandsを取得します。ReactiveStringCommandsを取得します。ReactiveZSetCommandsを取得します。
メソッドの詳細
close
default void close()- 次で指定:
- インターフェース
AutoCloseableSEのclose - 次で指定:
- インターフェース
CloseableSEのclose
closeLater
keyCommands
stringCommands
numberCommands
listCommands
setCommands
zSetCommands
hashCommands
geoCommands
hyperLogLogCommands
ReactiveHyperLogLogCommands hyperLogLogCommands()ReactiveHyperLogLogCommandsを取得します。- 戻り値:
- 決して null にはなりません。
pubSubCommands
scriptingCommands
ReactiveScriptingCommands scriptingCommands()ReactiveScriptingCommandsを取得します。- 戻り値:
- 決して null にはなりません。
serverCommands
streamCommands
ping