Home / Function/ close() — netty Function Reference

close() — netty Function Reference

Architecture documentation for the close() function in DefaultChannelPipelineTest.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 13

Entity Profile

Dependency Diagram

graph TD
  0734e696_bf2a_45af_707c_9731756d1f7d["close()"]
  2295daae_3259_4418_81d2_db2b9b8e93a7["OutboundCalledHandler"]
  0734e696_bf2a_45af_707c_9731756d1f7d -->|defined in| 2295daae_3259_4418_81d2_db2b9b8e93a7
  76d0323d_6adb_0c4c_dee1_48f5476bd522["close()"]
  76d0323d_6adb_0c4c_dee1_48f5476bd522 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  1d577730_98cf_e645_a0bd_8e177a3273f3["setUp()"]
  1d577730_98cf_e645_a0bd_8e177a3273f3 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  e3d0397a_c512_8300_661b_5e641ff5bc13["tearDown()"]
  e3d0397a_c512_8300_661b_5e641ff5bc13 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  48a8e24e_c1b6_dcf1_84e3_ee1660109d73["testThrowInExceptionCaught()"]
  48a8e24e_c1b6_dcf1_84e3_ee1660109d73 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  ed76dd35_c621_c934_2ef4_99b1d354644d["testThrowInOtherHandlerAfterInvokedFromExceptionCaught()"]
  ed76dd35_c621_c934_2ef4_99b1d354644d -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  da728c1a_113d_7883_f46e_e10bc1efd549["testCancelClose()"]
  da728c1a_113d_7883_f46e_e10bc1efd549 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  a0189b5d_2a53_77b7_61dd_54dd00b91f04["testWrongPromiseChannel()"]
  a0189b5d_2a53_77b7_61dd_54dd00b91f04 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  8602c868_3baa_e506_f888_d8151c0e7636["testPromiseCorrectExecutor()"]
  8602c868_3baa_e506_f888_d8151c0e7636 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  3153e805_331b_332e_b006_49485898094c["testUnexpectedVoidChannelPromise()"]
  3153e805_331b_332e_b006_49485898094c -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  b3b0b0f9_b443_cce5_05b1_9cf3e8459762["testUnexpectedVoidChannelPromiseCloseFuture()"]
  b3b0b0f9_b443_cce5_05b1_9cf3e8459762 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  24c05e1e_ac1b_0799_0696_886d56eda00f["testChannelUnregistrationWithCustomExecutor()"]
  24c05e1e_ac1b_0799_0696_886d56eda00f -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  06e79d87_9f59_1258_e380_e590698fe728["testHandlerAddedAndRemovedCalledInCorrectOrder()"]
  06e79d87_9f59_1258_e380_e590698fe728 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  deba62d6_3462_a1bc_35db_bc10d7533744["testAddInListener()"]
  deba62d6_3462_a1bc_35db_bc10d7533744 -->|calls| 0734e696_bf2a_45af_707c_9731756d1f7d
  style 0734e696_bf2a_45af_707c_9731756d1f7d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java lines 1904–1908

            @Override
            public void close(ChannelHandlerContext ctx, ChannelPromise promise) {
                executionMask |= MASK_CLOSE;
                promise.setSuccess();
            }

Domain

Subdomains

Calls

Frequently Asked Questions

What does close() do?
close() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java.
Where is close() defined?
close() is defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java at line 1904.
What does close() call?
close() calls 1 function(s): close.
What calls close()?
close() is called by 13 function(s): close, setUp, tearDown, testAddInListener, testCancelClose, testChannelUnregistrationWithCustomExecutor, testHandlerAddedAndRemovedCalledInCorrectOrder, testPromiseCorrectExecutor, and 5 more.

Analyze Your Own Codebase

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

Try Supermodel Free