Interface PreStartConfig

All Known Implementing Classes:
DefaultPreStartConfig

public interface PreStartConfig
  • Method Details

    • enabled

      boolean enabled()
    • keepReady

      int keepReady(String preStartName)
      How many infrastructures s
    • maxStartSimultan

      int maxStartSimultan(String preStartName)
    • directNetworkAttachIfPossible

      boolean directNetworkAttachIfPossible(String preStartName)
      Tries to directly attach the container to the network if possible.

      This speeds up overall time but (as no docker network connect is needed) but it's a different behavior then PreStarting (if implemented incorrectly may cause "random" problems)

      DEBUG-Option - default value should be fine.

    • coordinatorIdleCPUPercent

      int coordinatorIdleCPUPercent()
      Amount of CPU that needs to be idle to allow PreStarting of containers.
    • coordinatorSchedulePeriodMs

      int coordinatorSchedulePeriodMs()
      How often PreStarting should be tried (one factory per schedule!)
    • detectEndingTests

      boolean detectEndingTests()
      Should PreStarting be stopped when tests are ending?

      DEBUG-Option - default value should be fine.

    • instance

      static PreStartConfig instance()