Home / Function/ captureWrites() — netty Function Reference

captureWrites() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 11

Entity Profile

Dependency Diagram

graph TD
  fa4d7172_24a5_f6ad_635f_9c2cba8fd926["captureWrites()"]
  67b7550d_3bc6_4a2b_6b2f_618af35d6df8["WeightedFairQueueByteDistributorTest"]
  fa4d7172_24a5_f6ad_635f_9c2cba8fd926 -->|defined in| 67b7550d_3bc6_4a2b_6b2f_618af35d6df8
  29e725a2_b72b_804f_d9ab_387652d77c78["writeWithNonActiveStreamShouldNotDobuleAddToPriorityQueue()"]
  29e725a2_b72b_804f_d9ab_387652d77c78 -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  9910f283_ee16_3c47_92af_fc5bf8c8409e["minChunkShouldBeAllocatedPerStream()"]
  9910f283_ee16_3c47_92af_fc5bf8c8409e -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  d35333b0_3394_a15a_9e69_55c84468da13["blockedStreamShouldSpreadDataToChildren()"]
  d35333b0_3394_a15a_9e69_55c84468da13 -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  509b0e8c_cc83_7e31_f836_9c5247aef861["writeShouldPreferHighestWeight()"]
  509b0e8c_cc83_7e31_f836_9c5247aef861 -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  dd2ec898_32cb_dc9d_aa59_2401bc910602["writeShouldFavorPriority()"]
  dd2ec898_32cb_dc9d_aa59_2401bc910602 -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  6be9e301_0985_1b66_78f4_8bd4840c86c2["samePriorityShouldDistributeBasedOnData()"]
  6be9e301_0985_1b66_78f4_8bd4840c86c2 -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  9189a3c5_b38c_76bc_d644_ebbdc8ddf374["bytesDistributedWithRestructureShouldBeCorrect()"]
  9189a3c5_b38c_76bc_d644_ebbdc8ddf374 -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  cdb90f90_524b_ed17_89f1_207aa71f0e98["bytesDistributedWithAdditionShouldBeCorrect()"]
  cdb90f90_524b_ed17_89f1_207aa71f0e98 -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  7803309e_0c22_adff_ed9c_fe28d30d2662["bytesDistributedShouldBeCorrectWithInternalStreamClose()"]
  7803309e_0c22_adff_ed9c_fe28d30d2662 -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  bb89bd00_681b_ba12_0c66_bf737da14cfd["bytesDistributedShouldBeCorrectWithLeafStreamClose()"]
  bb89bd00_681b_ba12_0c66_bf737da14cfd -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  26d8a19f_b2d9_4849_b324_ebc3a74ca4f5["activeStreamDependentOnNewNonActiveStreamGetsQuantum()"]
  26d8a19f_b2d9_4849_b324_ebc3a74ca4f5 -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926
  11b51d3d_8188_9502_be8f_cc1ca56136d9["write()"]
  fa4d7172_24a5_f6ad_635f_9c2cba8fd926 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  style fa4d7172_24a5_f6ad_635f_9c2cba8fd926 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java lines 951–953

    private int captureWrites(int streamId) {
        return captureWrites(stream(streamId));
    }

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free