operationComplete() — netty Function Reference
Architecture documentation for the operationComplete() function in DelegatingChannelPromiseNotifier.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 860ea0f6_42d7_3a17_f4dc_18d722037474["operationComplete()"] befd9e8d_e67e_64ec_ff36_4b0609f0778f["DelegatingChannelPromiseNotifier"] 860ea0f6_42d7_3a17_f4dc_18d722037474 -->|defined in| befd9e8d_e67e_64ec_ff36_4b0609f0778f 634e2061_b544_e5ac_8160_34be8774d71f["isSuccess()"] 860ea0f6_42d7_3a17_f4dc_18d722037474 -->|calls| 634e2061_b544_e5ac_8160_34be8774d71f 74571f24_6e1c_fcc3_9994_3514921a7352["trySuccess()"] 860ea0f6_42d7_3a17_f4dc_18d722037474 -->|calls| 74571f24_6e1c_fcc3_9994_3514921a7352 52efb244_4bb2_7c86_6f3a_20e70a48209b["isCancelled()"] 860ea0f6_42d7_3a17_f4dc_18d722037474 -->|calls| 52efb244_4bb2_7c86_6f3a_20e70a48209b 73234e3f_7390_c358_a987_4766cc7225c2["tryFailure()"] 860ea0f6_42d7_3a17_f4dc_18d722037474 -->|calls| 73234e3f_7390_c358_a987_4766cc7225c2 style 860ea0f6_42d7_3a17_f4dc_18d722037474 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/DelegatingChannelPromiseNotifier.java lines 47–59
@Override
public void operationComplete(ChannelFuture future) throws Exception {
InternalLogger internalLogger = logNotifyFailure ? logger : null;
if (future.isSuccess()) {
Void result = future.get();
PromiseNotificationUtil.trySuccess(delegate, result, internalLogger);
} else if (future.isCancelled()) {
PromiseNotificationUtil.tryCancel(delegate, internalLogger);
} else {
Throwable cause = future.cause();
PromiseNotificationUtil.tryFailure(delegate, cause, internalLogger);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does operationComplete() do?
operationComplete() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/DelegatingChannelPromiseNotifier.java.
Where is operationComplete() defined?
operationComplete() is defined in transport/src/main/java/io/netty/channel/DelegatingChannelPromiseNotifier.java at line 47.
What does operationComplete() call?
operationComplete() calls 4 function(s): isCancelled, isSuccess, tryFailure, trySuccess.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free