Interface AsyncGroup
public sealed interface AsyncGroup
An interface for asynchronously executing multiple
Runner instances and waiting for their
completion.
Implementations of this interface allow adding multiple Runner objects, which are then
executed concurrently. The group waits until all added runners have finished their execution. Any
errors occurring during the execution of a Runner are stored and can be retrieved by
their names in a map.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordRepresents the reason for a newErrexception object when an exception occurred during the execution of aRunnerand the exception class was not theErr.static final recordRepresents the reason for anErrexception object when the creation of a thread for asynchronous execution of aRunnerfails. -
Method Summary
-
Method Details
-
add
-