All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.embedded.RedisSentinel Maven / Gradle / Ivy

Go to download

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