Interface EmbeddedRedis

All Known Subinterfaces:
RedisStore
All Known Implementing Classes:
AlarmTestKit, EventTestKit

public interface EmbeddedRedis
  • Method Summary

    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, String masterId, boolean keyspaceEvent)
     
    void
    stopSentinel(redis.embedded.RedisSentinel redisSentinel, redis.embedded.RedisServer redisServer)
     
  • Method Details

    • addJvmShutdownHook

      <T> void addJvmShutdownHook(scala.Function0<T> hook)
    • startSentinel

      scala.Tuple2<redis.embedded.RedisSentinel,redis.embedded.RedisServer> startSentinel(int sentinelPort, int serverPort, String masterId, boolean keyspaceEvent)
    • stopSentinel

      void stopSentinel(redis.embedded.RedisSentinel redisSentinel, redis.embedded.RedisServer redisServer)