Home / Function/ setAllocator() — netty Function Reference

setAllocator() — netty Function Reference

Architecture documentation for the setAllocator() function in QuicChannelEchoTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e3494b32_ba2d_9829_4946_ef33056b5189["setAllocator()"]
  949dbf36_222b_a1d5_95aa_68ae528fcaf5["QuicChannelEchoTest"]
  e3494b32_ba2d_9829_4946_ef33056b5189 -->|defined in| 949dbf36_222b_a1d5_95aa_68ae528fcaf5
  b6b62dd4_732e_55a3_c880_96407c90f51b["testEchoStartedFromServer()"]
  b6b62dd4_732e_55a3_c880_96407c90f51b -->|calls| e3494b32_ba2d_9829_4946_ef33056b5189
  517fed06_cd16_bd40_97ea_e48339ad0706["testEchoStartedFromClient()"]
  517fed06_cd16_bd40_97ea_e48339ad0706 -->|calls| e3494b32_ba2d_9829_4946_ef33056b5189
  3bdf8186_a75e_d952_2d7e_c9f164011b42["channelRegistered()"]
  3bdf8186_a75e_d952_2d7e_c9f164011b42 -->|calls| e3494b32_ba2d_9829_4946_ef33056b5189
  style e3494b32_ba2d_9829_4946_ef33056b5189 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelEchoTest.java lines 70–72

    private void setAllocator(Channel channel, ByteBufAllocator allocator) {
        channel.config().setAllocator(allocator);
    }

Domain

Subdomains

Frequently Asked Questions

What does setAllocator() do?
setAllocator() is a function in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelEchoTest.java.
Where is setAllocator() defined?
setAllocator() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelEchoTest.java at line 70.
What calls setAllocator()?
setAllocator() is called by 3 function(s): channelRegistered, testEchoStartedFromClient, testEchoStartedFromServer.

Analyze Your Own Codebase

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

Try Supermodel Free