Package org.apache.beam.sdk.fn.test
Class TestExecutors
java.lang.Object
org.apache.beam.sdk.fn.test.TestExecutors
A
TestRule
that validates that all submitted tasks finished and were completed. This
allows for testing that tasks have exercised the appropriate shutdown logic.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
A union of theExecutorService
andTestRule
interfaces. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrom
(ExecutorService staticExecutorService) from
(Supplier<ExecutorService> executorServiceSuppler)
-
Constructor Details
-
TestExecutors
public TestExecutors()
-
-
Method Details
-
from
-
from
public static TestExecutors.TestExecutorService from(Supplier<ExecutorService> executorServiceSuppler)
-