Class ServiceReadinessChecks

java.lang.Object
org.springframework.boot.docker.compose.readiness.ServiceReadinessChecks

public class ServiceReadinessChecks extends Object
A collection of ServiceReadinessCheck instances that can be used to wait for services to be ready.
Since:
3.1.0
  • Constructor Details

    • ServiceReadinessChecks

      public ServiceReadinessChecks(ClassLoader classLoader, org.springframework.core.env.Environment environment, org.springframework.boot.context.properties.bind.Binder binder)
  • Method Details

    • waitUntilReady

      public void waitUntilReady(List<RunningService> runningServices)
      Wait for the given services to be ready.
      Parameters:
      runningServices - the services to wait for