redis.embedded.RedisSentinel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of embedded-redis Show documentation
Show all versions of embedded-redis Show documentation
Redis embedded server for Java integration testing
package redis.embedded;
import java.util.ArrayList;
import java.util.List;
/**
* Created by piotrturek on 22/01/15.
*/
public class RedisSentinel extends AbstractRedisInstance {
private static final String REDIS_READY_PATTERN = ".*Sentinel runid is.*";
public RedisSentinel(List args, int port) {
super(port);
this.args = new ArrayList<>(args);
}
public static RedisSentinelBuilder builder() { return new RedisSentinelBuilder(); }
@Override
protected String redisReadyPattern() {
return REDIS_READY_PATTERN;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy