クラス LettuceClusterConnection

実装済みのインターフェース一覧:
AutoCloseableSE, DefaultedRedisClusterConnection, DefaultedRedisConnection, RedisClusterCommands, RedisClusterCommandsProvider, RedisClusterConnection, RedisClusterServerCommands, RedisCommands, RedisCommandsProvider, RedisConnection, RedisConnectionCommands, RedisGeoCommands, RedisHashCommands, RedisHyperLogLogCommands, RedisKeyCommands, RedisListCommands, RedisPubSubCommands, RedisScriptingCommands, RedisServerCommands, RedisSetCommands, RedisStreamCommands, RedisStringCommands, RedisTxCommands, RedisZSetCommands

public class LettuceClusterConnection extends LettuceConnection implements RedisClusterConnection, DefaultedRedisClusterConnection
上に RedisClusterConnection 実装 Lettuce Redis クライアント。

LettuceClusterConnection によって使用される基になる Lettuce RedisClient および StatefulRedisConnection インスタンスはスレッドセーフですが、このクラス自体はスレッドセーフではありません。Redis コマンドやその他の操作を実行するときに、LettuceClusterConnection のインスタンスを複数のスレッド間で共有しないでください。アプリケーションで最適なパフォーマンスが必要な場合は、基盤となる Lettuce クライアントライブラリ (ドライバー) によって提供される低レベルの API に直接アクセスすることをお勧めします。このようなスレッドセーフ保証が可能です。LettuceConnection.getNativeConnection() を呼び出して、必要に応じてネイティブリソースを使用するだけです。

導入:
1.7
作成者:
Christoph Strobl, Mark Paluch, John Blum