Home / Function/ move() — netty Function Reference

move() — netty Function Reference

Architecture documentation for the move() function in PoolChunkList.java from the netty codebase.

Function java Buffer Telemetry calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  ab82259c_2fab_fc43_d5d6_285810df3808["move()"]
  ad035c77_35f5_72ad_c059_f20a84e5fef2["PoolChunkList"]
  ab82259c_2fab_fc43_d5d6_285810df3808 -->|defined in| ad035c77_35f5_72ad_c059_f20a84e5fef2
  d1999192_ee28_91ce_aaeb_bd7dac88882a["move0()"]
  d1999192_ee28_91ce_aaeb_bd7dac88882a -->|calls| ab82259c_2fab_fc43_d5d6_285810df3808
  d1999192_ee28_91ce_aaeb_bd7dac88882a["move0()"]
  ab82259c_2fab_fc43_d5d6_285810df3808 -->|calls| d1999192_ee28_91ce_aaeb_bd7dac88882a
  01ec12e0_052d_217e_a5d8_c8040b24bf97["add0()"]
  ab82259c_2fab_fc43_d5d6_285810df3808 -->|calls| 01ec12e0_052d_217e_a5d8_c8040b24bf97
  style ab82259c_2fab_fc43_d5d6_285810df3808 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/PoolChunkList.java lines 129–140

    private boolean move(PoolChunk<T> chunk) {
        assert chunk.usage() < maxUsage;

        if (chunk.freeBytes > freeMaxThreshold) {
            // Move the PoolChunk down the PoolChunkList linked-list.
            return move0(chunk);
        }

        // PoolChunk fits into this PoolChunkList, adding it here.
        add0(chunk);
        return true;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does move() do?
move() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolChunkList.java.
Where is move() defined?
move() is defined in buffer/src/main/java/io/netty/buffer/PoolChunkList.java at line 129.
What does move() call?
move() calls 2 function(s): add0, move0.
What calls move()?
move() is called by 1 function(s): move0.

Analyze Your Own Codebase

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

Try Supermodel Free