Class MoreStartables
java.lang.Object
io.debezium.testing.testcontainers.util.MoreStartables
Utilities for working with
Startables.
Extends the utilities found in Startables.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeepStartSync(Stream<? extends org.testcontainers.lifecycle.Startable> startables) Start every suppliedStartablerecursively and, to the extent possible, in parallel, waiting synchronously on the result.static voiddeepStopSync(Stream<? extends org.testcontainers.lifecycle.Startable> startables) Stop every suppliedStartablerecursively and, to the extent possible, in parallel, waiting synchronously on the result.
-
Constructor Details
-
MoreStartables
private MoreStartables()
-
-
Method Details
-
deepStartSync
public static void deepStartSync(Stream<? extends org.testcontainers.lifecycle.Startable> startables) Start every suppliedStartablerecursively and, to the extent possible, in parallel, waiting synchronously on the result.- Parameters:
startables- the list of startables to {@link Startable#start())
-
deepStopSync
public static void deepStopSync(Stream<? extends org.testcontainers.lifecycle.Startable> startables) Stop every suppliedStartablerecursively and, to the extent possible, in parallel, waiting synchronously on the result.- Parameters:
startables- the list of startables to {@link Startable#stop())- See Also:
-