Package csw.testkit
Class AlarmTestKit$
java.lang.Object
csw.testkit.AlarmTestKit$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AlarmTestKit$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, io.lettuce.core.RedisClient redisClient, TestKitSettings testKitSettings) Create a AlarmTestKitcreate
(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem) Java API to create a EventTestKitcreate
(TestKitSettings testKitSettings) Java API to create a AlarmTestKitcreate
(io.lettuce.core.RedisClient redisClient) Java API to create a EventTestKit
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
AlarmTestKit$
public AlarmTestKit$()
-
-
Method Details
-
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
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
Java API to create a EventTestKit- Parameters:
redisClient
- (undocumented)- Returns:
- handle to EventTestKit which can be used to start and stop event service
-