Class TestKitUtils$
java.lang.Object
org.apache.pekko.actor.testkit.typed.internal.TestKitUtils$
INTERNAL API
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TestKitUtils$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscrubActorSystemName(String name) Sanitize thenameto be used as valid actor system name by replacing invalid characters.voidshutdown(ActorSystem<?> system, scala.concurrent.duration.Duration timeout, boolean throwIfShutdownTimesOut) testNameFromCallStack(Class<?> classToStartFrom)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
TestKitUtils$
public TestKitUtils$()
-
-
Method Details
-
testNameFromCallStack
-
scrubActorSystemName
Sanitize thenameto be used as valid actor system name by replacing invalid characters.namemay for example be a fully qualified class name and then the short class name will be used. -
shutdown
public void shutdown(ActorSystem<?> system, scala.concurrent.duration.Duration timeout, boolean throwIfShutdownTimesOut)
-