Home / Function/ tryReduceLevel() — netty Function Reference

tryReduceLevel() — netty Function Reference

Architecture documentation for the tryReduceLevel() function in ConcurrentSkipListIntObjMultimap.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a5591d9d_8462_4796_8a91_2dfef6e505cf["tryReduceLevel()"]
  d9a8da36_aab9_ab33_dc67_870b34dcd270["ConcurrentSkipListIntObjMultimap"]
  a5591d9d_8462_4796_8a91_2dfef6e505cf -->|defined in| d9a8da36_aab9_ab33_dc67_870b34dcd270
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658["V()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| a5591d9d_8462_4796_8a91_2dfef6e505cf
  e1018349_653b_7710_9bf6_715fdd68c860["doRemoveFirstEntry()"]
  e1018349_653b_7710_9bf6_715fdd68c860 -->|calls| a5591d9d_8462_4796_8a91_2dfef6e505cf
  c91f6f32_c06b_465f_f613_c43e4ac69459["doRemoveLastEntry()"]
  c91f6f32_c06b_465f_f613_c43e4ac69459 -->|calls| a5591d9d_8462_4796_8a91_2dfef6e505cf
  style a5591d9d_8462_4796_8a91_2dfef6e505cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java lines 819–828

    private void tryReduceLevel() {
        Index<V> h, d, e;
        if ((h = head) != null && h.right == null &&
            (d = h.down) != null && d.right == null &&
            (e = d.down) != null && e.right == null &&
            HEAD.compareAndSet(this, h, d) &&
            h.right != null) {  // recheck
            HEAD.compareAndSet(this, d, h);  // try to backout
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does tryReduceLevel() do?
tryReduceLevel() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java.
Where is tryReduceLevel() defined?
tryReduceLevel() is defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java at line 819.
What calls tryReduceLevel()?
tryReduceLevel() is called by 3 function(s): V, doRemoveFirstEntry, doRemoveLastEntry.

Analyze Your Own Codebase

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

Try Supermodel Free