インターフェースの使用
org.springframework.data.redis.connection.ClusterTopologyProvider
ClusterTopologyProvider を使用するパッケージ
パッケージ
説明
さまざまな Redis ' ドライバー '/libraries と対話するための低レベルの抽象化を提供する接続パッケージ。
Jedis ライブラリの接続パッケージ。
Lettuce の接続パッケージ Redis クライアント。
org.springframework.data.redis.connection 内の ClusterTopologyProvider 使用
型 ClusterTopologyProvider のパラメーターを持つ org.springframework.data.redis.connection のコンストラクター修飾子コンストラクター説明ClusterCommandExecutor(ClusterTopologyProvider topologyProvider, ClusterNodeResourceProvider resourceProvider, ExceptionTranslationStrategy exceptionTranslation) 新しいClusterCommandExecutorを作成します。ClusterCommandExecutor(ClusterTopologyProvider topologyProvider, ClusterNodeResourceProvider resourceProvider, ExceptionTranslationStrategy exceptionTranslation, @Nullable AsyncTaskExecutor executor) org.springframework.data.redis.connection.jedis 内の ClusterTopologyProvider 使用
修飾子と型メソッド説明protected ClusterTopologyProviderJedisConnectionFactory.createTopologyProvider(redis.clients.jedis.JedisCluster cluster) JedisClusterを指定してClusterTopologyProviderを作成するためのテンプレートメソッド。protected ClusterTopologyProviderJedisClusterConnection.getTopologyProvider()型 ClusterTopologyProvider のパラメーターを持つ org.springframework.data.redis.connection.jedis のコンストラクター修飾子コンストラクター説明JedisClusterConnection(@NonNull redis.clients.jedis.JedisCluster cluster, @NonNull ClusterCommandExecutor executor, @NonNull ClusterTopologyProvider topologyProvider) 指定されたClusterCommandExecutorを介してクラスター全体でコマンドを実行し、指定されたClusterTopologyProviderを使用して、JedisClusterを介したネイティブ接続を利用して新しいJedisClusterConnectionを作成します。org.springframework.data.redis.connection.lettuce 内の ClusterTopologyProvider 使用
型 ClusterTopologyProvider のパラメーターを持つ org.springframework.data.redis.connection.lettuce のメソッド修飾子と型メソッド説明protected LettuceClusterConnectionLettuceConnectionFactory.doCreateLettuceClusterConnection(@Nullable io.lettuce.core.cluster.api.StatefulRedisClusterConnection<byte[], byte[]> sharedConnection, LettuceConnectionProvider connectionProvider, ClusterTopologyProvider topologyProvider, ClusterCommandExecutor clusterCommandExecutor, DurationSE commandTimeout) LettuceClusterConnection作成用のカスタマイズフック。型 ClusterTopologyProvider のパラメーターを持つ org.springframework.data.redis.connection.lettuce のコンストラクター修飾子コンストラクター説明protectedLettuceClusterConnection(@Nullable io.lettuce.core.cluster.api.StatefulRedisClusterConnection<byte[], byte[]> sharedConnection, LettuceConnectionProvider connectionProvider, ClusterTopologyProvider clusterTopologyProvider, ClusterCommandExecutor executor, DurationSE timeout) 指定されたClusterCommandExecutorを介して、クラスター全体でコマンドを実行する共有StatefulRedisClusterConnectionおよびLettuceConnectionProviderを指定して、新しいLettuceClusterConnectionを作成します。