Package csw.testkit.redis
Interface EmbeddedRedis
-
- All Known Subinterfaces:
RedisStore
- All Known Implementing Classes:
AlarmTestKit
,EventTestKit
public interface EmbeddedRedis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> void
addJvmShutdownHook(scala.Function0<T> hook)
scala.Tuple2<redis.embedded.RedisSentinel,redis.embedded.RedisServer>
startSentinel(int sentinelPort, int serverPort, java.lang.String masterId)
void
stopSentinel(redis.embedded.RedisSentinel redisSentinel, redis.embedded.RedisServer redisServer)
-
-
-
Method Detail
-
addJvmShutdownHook
<T> void addJvmShutdownHook(scala.Function0<T> hook)
-
startSentinel
scala.Tuple2<redis.embedded.RedisSentinel,redis.embedded.RedisServer> startSentinel(int sentinelPort, int serverPort, java.lang.String masterId)
-
stopSentinel
void stopSentinel(redis.embedded.RedisSentinel redisSentinel, redis.embedded.RedisServer redisServer)
-
-