Package csw.testkit
Class AlarmTestKit$
- java.lang.Object
-
- csw.testkit.AlarmTestKit$
-
public class AlarmTestKit$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static AlarmTestKit$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description AlarmTestKit$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmTestKitapply(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, io.lettuce.core.RedisClient redisClient, TestKitSettings testKitSettings)Create a AlarmTestKitAlarmTestKitcreate(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem)Java API to create a EventTestKitAlarmTestKitcreate(TestKitSettings testKitSettings)Java API to create a AlarmTestKitAlarmTestKitcreate(io.lettuce.core.RedisClient redisClient)Java API to create a EventTestKit
-
-
-
Field Detail
-
MODULE$
public static final AlarmTestKit$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public AlarmTestKit apply(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, io.lettuce.core.RedisClient redisClient, TestKitSettings testKitSettings)
Create a AlarmTestKitWhen the test has completed you should shutdown the alarm service with
AlarmTestKit.shutdownAlarmService().- Parameters:
actorSystem- (undocumented)redisClient- (undocumented)testKitSettings- (undocumented)- Returns:
- handle to AlarmTestKit which can be used to start and stop alarm service
-
create
public AlarmTestKit create(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem)
Java API to create a EventTestKit- Parameters:
actorSystem- (undocumented)- Returns:
- handle to EventTestKit which can be used to start and stop event service
-
create
public AlarmTestKit create(TestKitSettings testKitSettings)
Java API to create a AlarmTestKit- Parameters:
testKitSettings- custom testKitSettings- Returns:
- handle to AlarmTestKit which can be used to start and stop alarm service
-
create
public AlarmTestKit create(io.lettuce.core.RedisClient redisClient)
Java API to create a EventTestKit- Parameters:
redisClient- (undocumented)- Returns:
- handle to EventTestKit which can be used to start and stop event service
-
-