ReadinessTimeoutException Class — spring-boot Architecture
Architecture documentation for the ReadinessTimeoutException class in ReadinessTimeoutException.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/lifecycle/ReadinessTimeoutException.java lines 33–60
public final class ReadinessTimeoutException extends RuntimeException {
private final Duration timeout;
ReadinessTimeoutException(Duration timeout, List<ServiceNotReadyException> exceptions) {
super(buildMessage(timeout, exceptions));
this.timeout = timeout;
exceptions.forEach(this::addSuppressed);
}
private static String buildMessage(Duration timeout, List<ServiceNotReadyException> exceptions) {
List<String> serviceNames = exceptions.stream()
.map(ServiceNotReadyException::getService)
.filter(Objects::nonNull)
.map(RunningService::name)
.toList();
return "Readiness timeout of %s reached while waiting for services %s".formatted(timeout, serviceNames);
}
/**
* Return the timeout that was reached.
* @return the timeout
*/
public Duration getTimeout() {
return this.timeout;
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free