Package io.gatling.javaapi.redis
Class RedisDsl
java.lang.Object
io.gatling.javaapi.redis.RedisDsl
The entrypoint of the Redis DSL
-
Method Summary
Modifier and TypeMethodDescriptionstatic RedisFeederBuilder
redisFeeder
(RedisClientPool clients, String key) Bootstrap a Redis feederstatic RedisFeederBuilder
redisFeeder
(RedisClientPool clients, String keySrc, String keyDest) Bootstrap a Redis feeder
-
Method Details
-
redisFeeder
@NonNull public static RedisFeederBuilder redisFeeder(@NonNull RedisClientPool clients, @NonNull String key) Bootstrap a Redis feeder- Parameters:
clients
- the clients poolkey
- the key to look up in the redis command- Returns:
- a new RedisFeederBuilder instance
-
redisFeeder
@NonNull public static RedisFeederBuilder redisFeeder(@NonNull RedisClientPool clients, @NonNull String keySrc, @NonNull String keyDest) Bootstrap a Redis feeder- Parameters:
clients
- the clients poolkeySrc
- the key to look up in the RPOPLPUSH commandkeyDest
- the key to store the value in RPOPLPUSH command- Returns:
- a new RedisFeederBuilder instance
-