Class MoreStartables

java.lang.Object
io.debezium.testing.testcontainers.util.MoreStartables

public final class MoreStartables extends Object
Utilities for working with Startables.

Extends the utilities found in Startables.

  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    deepStartSync(Stream<? extends org.testcontainers.lifecycle.Startable> startables)
    Start every supplied Startable recursively and, to the extent possible, in parallel, waiting synchronously on the result.
    static void
    deepStopSync(Stream<? extends org.testcontainers.lifecycle.Startable> startables)
    Stop every supplied Startable recursively and, to the extent possible, in parallel, waiting synchronously on the result.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MoreStartables

      private MoreStartables()
  • Method Details

    • deepStartSync

      public static void deepStartSync(Stream<? extends org.testcontainers.lifecycle.Startable> startables)
      Start every supplied Startable recursively 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 supplied Startable recursively and, to the extent possible, in parallel, waiting synchronously on the result.
      Parameters:
      startables - the list of startables to {@link Startable#stop())
      See Also: