クラスの使用
org.springframework.data.redis.connection.ClusterCommandExecutor
ClusterCommandExecutor を使用するパッケージ
org.springframework.data.redis.connection.jedis 内の ClusterCommandExecutor 使用
型 ClusterCommandExecutor のパラメーターを持つ org.springframework.data.redis.connection.jedis のコンストラクター修飾子コンストラクター説明JedisClusterConnection(@NonNull redis.clients.jedis.JedisCluster cluster, @NonNull ClusterCommandExecutor executor) 指定されたClusterCommandExecutorを介してクラスター全体でコマンドを実行するJedisClusterを介したネイティブ接続を利用して、新しいJedisClusterConnectionを作成します。JedisClusterConnection(@NonNull redis.clients.jedis.JedisCluster cluster, @NonNull ClusterCommandExecutor executor, @NonNull ClusterTopologyProvider topologyProvider) 指定されたClusterCommandExecutorを介してクラスター全体でコマンドを実行し、指定されたClusterTopologyProviderを使用して、JedisClusterを介したネイティブ接続を利用して新しいJedisClusterConnectionを作成します。org.springframework.data.redis.connection.lettuce 内の ClusterCommandExecutor 使用
型 ClusterCommandExecutor のパラメーターを持つ 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作成用のカスタマイズフック。型 ClusterCommandExecutor のパラメーターを持つ 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を作成します。LettuceClusterConnection(io.lettuce.core.cluster.RedisClusterClient clusterClient, ClusterCommandExecutor executor) 指定されたClusterCommandExecutorを介してクラスター全体でコマンドを実行するRedisClusterClientを使用して、デフォルトのtimeoutで新しいLettuceClusterConnectionを作成します。LettuceClusterConnection(io.lettuce.core.cluster.RedisClusterClient clusterClient, ClusterCommandExecutor executor, DurationSE timeout) 指定されたClusterCommandExecutorを介してクラスター全体でコマンドを実行するRedisClusterClientを使用して、指定されたコマンドtimeoutで新しいLettuceClusterConnectionを作成します。LettuceClusterConnection(LettuceConnectionProvider connectionProvider, ClusterCommandExecutor executor) 指定されたClusterCommandExecutorを介してクラスター全体でコマンドを実行するLettuceConnectionProviderを使用して、新しいLettuceClusterConnectionを作成します。LettuceClusterConnection(LettuceConnectionProvider connectionProvider, ClusterCommandExecutor executor, DurationSE timeout) 指定されたClusterCommandExecutorを介してクラスター全体でコマンドを実行するLettuceConnectionProviderを使用して、新しいLettuceClusterConnectionを作成します。