Home / Function/ success() — netty Function Reference

success() — netty Function Reference

Architecture documentation for the success() function in ChunkedWriteHandler.java from the netty codebase.

Function java Buffer Search calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  5740c2cb_0395_da33_c095_2ffbce33d38d["success()"]
  b3d822e1_b4c1_8ce5_045d_92dfcd53ae43["PendingWrite"]
  5740c2cb_0395_da33_c095_2ffbce33d38d -->|defined in| b3d822e1_b4c1_8ce5_045d_92dfcd53ae43
  5e77e506_0716_aa80_bbd5_9ae4fe677c28["discard()"]
  5e77e506_0716_aa80_bbd5_9ae4fe677c28 -->|calls| 5740c2cb_0395_da33_c095_2ffbce33d38d
  12066d6b_de59_74be_d499_8c490cf6271c["handleEndOfInputFuture()"]
  12066d6b_de59_74be_d499_8c490cf6271c -->|calls| 5740c2cb_0395_da33_c095_2ffbce33d38d
  464c9d74_679e_a677_e746_4716bb059494["progress()"]
  5740c2cb_0395_da33_c095_2ffbce33d38d -->|calls| 464c9d74_679e_a677_e746_4716bb059494
  style 5740c2cb_0395_da33_c095_2ffbce33d38d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java lines 378–385

        void success(long total) {
            if (promise.isDone()) {
                // No need to notify the progress or fulfill the promise because it's done already.
                return;
            }
            progress(total, total);
            promise.trySuccess();
        }

Domain

Subdomains

Calls

Frequently Asked Questions

What does success() do?
success() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java.
Where is success() defined?
success() is defined in handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java at line 378.
What does success() call?
success() calls 1 function(s): progress.
What calls success()?
success() is called by 2 function(s): discard, handleEndOfInputFuture.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free