Interface PreStartConfig
- All Known Implementing Classes:
DefaultPreStartConfig
public interface PreStartConfig
-
Method Summary
Modifier and TypeMethodDescriptionintAmount of CPU that needs to be idle to allow PreStarting of containers.intHow often PreStarting should be tried (one factory per schedule!)booleanShould PreStarting be stopped when tests are ending?booleandirectNetworkAttachIfPossible(String preStartName) Tries to directly attach the container to the network if possible.booleanenabled()static PreStartConfiginstance()intHow many infrastructures sintmaxStartSimultan(String preStartName)
-
Method Details
-
enabled
boolean enabled() -
keepReady
How many infrastructures s -
maxStartSimultan
-
directNetworkAttachIfPossible
Tries to directly attach the container to the network if possible.This speeds up overall time but (as no
docker network connectis 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
-