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/ozimov/embedded-redis Which was forked from https://github.com/kstyrc/embedded-redis

The newest version!
package redis.embedded;

import redis.embedded.core.RedisSentinelBuilder;

import java.util.List;
import java.util.function.Consumer;

public final class RedisSentinel extends RedisInstance {

    public RedisSentinel(final int port, final List args, final boolean forceStop) {
        super(port, args, SENTINEL_READY_PATTERN, forceStop, null, null);
    }

    public RedisSentinel(final int port, final List args, final boolean forceStop,
                         final Consumer soutListener, final Consumer serrListener) {
        super(port, args, SENTINEL_READY_PATTERN, forceStop, soutListener, serrListener);
    }

    public static RedisSentinelBuilder newRedisSentinel() { return new RedisSentinelBuilder(); }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy