Package csw.testkit.redis
Interface RedisStore
-
- All Superinterfaces:
EmbeddedRedis
- All Known Implementing Classes:
AlarmTestKit
,EventTestKit
public interface RedisStore extends EmbeddedRedis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connection.TcpConnection
connection()
scala.concurrent.ExecutionContext
ec()
java.lang.String
masterId()
void
shutdown()
csw.location.api.scaladsl.RegistrationResult
start(int sentinelPort, int serverPort)
void
start(java.util.Optional<java.lang.Object> sentinelPort, java.util.Optional<java.lang.Object> serverPort)
void
stopRedis()
akka.actor.typed.ActorSystem<?>
system()
akka.util.Timeout
timeout()
akka.actor.ActorSystem
untypedSystem()
-
Methods inherited from interface csw.testkit.redis.EmbeddedRedis
addJvmShutdownHook, startSentinel, stopSentinel
-
-
-
-
Method Detail
-
connection
Connection.TcpConnection connection()
-
ec
scala.concurrent.ExecutionContext ec()
-
masterId
java.lang.String masterId()
-
shutdown
void shutdown()
-
start
csw.location.api.scaladsl.RegistrationResult start(int sentinelPort, int serverPort)
-
start
void start(java.util.Optional<java.lang.Object> sentinelPort, java.util.Optional<java.lang.Object> serverPort)
-
stopRedis
void stopRedis()
-
system
akka.actor.typed.ActorSystem<?> system()
-
timeout
akka.util.Timeout timeout()
-
untypedSystem
akka.actor.ActorSystem untypedSystem()
-
-