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.
Project forked from https://github.com/kstyrc/embedded-redis
The newest version!
package redis.embedded;
import java.util.ArrayList;
import java.util.List;
public class RedisSentinel extends AbstractRedisInstance {
private static final String REDIS_READY_PATTERN = ".*Sentinel (runid|ID) 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