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