CompletableFutureHandler Class — spring-boot Architecture
Architecture documentation for the CompletableFutureHandler class in NamedPipeSocket.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/socket/NamedPipeSocket.java lines 173–190
private static final class CompletableFutureHandler extends CompletableFuture<Integer>
implements CompletionHandler<Integer, Object> {
@Override
public void completed(Integer read, Object attachment) {
complete((read > 0) ? read : -1);
}
@Override
public void failed(Throwable exc, Object attachment) {
if (exc instanceof AsynchronousCloseException) {
complete(-1);
return;
}
completeExceptionally(exc);
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free