Home / Function/ write() — netty Function Reference

write() — netty Function Reference

Architecture documentation for the write() function in WeightedFairQueueByteDistributorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  11b51d3d_8188_9502_be8f_cc1ca56136d9["write()"]
  67b7550d_3bc6_4a2b_6b2f_618af35d6df8["WeightedFairQueueByteDistributorTest"]
  11b51d3d_8188_9502_be8f_cc1ca56136d9 -->|defined in| 67b7550d_3bc6_4a2b_6b2f_618af35d6df8
  6b170cb0_108f_fa9f_939c_f8840388f53b["setup()"]
  6b170cb0_108f_fa9f_939c_f8840388f53b -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  29e725a2_b72b_804f_d9ab_387652d77c78["writeWithNonActiveStreamShouldNotDobuleAddToPriorityQueue()"]
  29e725a2_b72b_804f_d9ab_387652d77c78 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  40441c50_9c54_2893_0d78_c8c93f59d67e["bytesUnassignedAfterProcessing()"]
  40441c50_9c54_2893_0d78_c8c93f59d67e -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  b66c2bd8_676d_86a4_cc77_2d4d4d56c82b["connectionErrorForWriterException()"]
  b66c2bd8_676d_86a4_cc77_2d4d4d56c82b -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  9910f283_ee16_3c47_92af_fc5bf8c8409e["minChunkShouldBeAllocatedPerStream()"]
  9910f283_ee16_3c47_92af_fc5bf8c8409e -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  d1dd16e2_e80e_b19e_3d99_1befd2d9385f["emptyFrameAtHeadIsWritten()"]
  d1dd16e2_e80e_b19e_3d99_1befd2d9385f -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  e5c7c421_6012_fcf0_bbfc_0ea799957567["streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce()"]
  e5c7c421_6012_fcf0_bbfc_0ea799957567 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  d35333b0_3394_a15a_9e69_55c84468da13["blockedStreamShouldSpreadDataToChildren()"]
  d35333b0_3394_a15a_9e69_55c84468da13 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  9d277346_e513_d5ae_06bb_cfc9fd8b51e1["childrenShouldNotSendDataUntilParentBlocked()"]
  9d277346_e513_d5ae_06bb_cfc9fd8b51e1 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  d8a105a0_e49b_7590_ed21_f71981347a7e["parentShouldWaterFallDataToChildren()"]
  d8a105a0_e49b_7590_ed21_f71981347a7e -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  5b33686d_4c7c_df6e_abe3_78558c65b662["reprioritizeShouldAdjustOutboundFlow()"]
  5b33686d_4c7c_df6e_abe3_78558c65b662 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  2192db3a_0dd9_2f20_d66c_42b8af66ffe4["unstreamableParentsShouldFeedHungryChildren()"]
  2192db3a_0dd9_2f20_d66c_42b8af66ffe4 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  509b0e8c_cc83_7e31_f836_9c5247aef861["writeShouldPreferHighestWeight()"]
  509b0e8c_cc83_7e31_f836_9c5247aef861 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  style 11b51d3d_8188_9502_be8f_cc1ca56136d9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java lines 927–929

    private boolean write(int numBytes) throws Http2Exception {
        return distributor.distribute(numBytes, writer);
    }

Domain

Subdomains

Frequently Asked Questions

What does write() do?
write() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java.
Where is write() defined?
write() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java at line 927.
What calls write()?
write() is called by 27 function(s): activeStreamDependentOnNewNonActiveStreamGetsQuantum, blockedStreamShouldSpreadDataToChildren, bytesDistributedShouldBeCorrectWithInternalStreamClose, bytesDistributedShouldBeCorrectWithLeafStreamClose, bytesDistributedWithAdditionShouldBeCorrect, bytesDistributedWithRestructureShouldBeCorrect, bytesUnassignedAfterProcessing, captureWrites, and 19 more.

Analyze Your Own Codebase

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

Try Supermodel Free