Interface AsyncGroup
public 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 record
Represents the reason for a newExc
exception object when an exception occurred during the execution of aRunner
and the exception class was not theExc
.static final record
Represents the reason for anExc
exception object when the creation of a thread for asynchronous execution of aRunner
fails. -
Method Summary
-
Method Details
-
add
-