Package redis.embedded
Class RedisSentinel
java.lang.Object
redis.embedded.RedisSentinel
- All Implemented Interfaces:
Redis
public class RedisSentinel extends Object
-
Field Summary
Fields Modifier and Type Field Description static Pattern
SENTINEL_READY_PATTERN
-
Constructor Summary
Constructors Constructor Description RedisSentinel(int port, List<String> args)
-
Method Summary
Modifier and Type Method Description boolean
isActive()
static RedisSentinelBuilder
newRedisSentinel()
List<Integer>
ports()
void
start()
void
stop()
-
Field Details
-
SENTINEL_READY_PATTERN
-
-
Constructor Details
-
RedisSentinel
-
-
Method Details
-
newRedisSentinel
-
start
- Specified by:
start
in interfaceRedis
- Throws:
IOException
-
stop
- Specified by:
stop
in interfaceRedis
- Throws:
IOException
-
isActive
public boolean isActive() -
ports
-