doRemoveFirstEntry() — netty Function Reference
Architecture documentation for the doRemoveFirstEntry() function in ConcurrentSkipListIntObjMultimap.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e1018349_653b_7710_9bf6_715fdd68c860["doRemoveFirstEntry()"] d9a8da36_aab9_ab33_dc67_870b34dcd270["ConcurrentSkipListIntObjMultimap"] e1018349_653b_7710_9bf6_715fdd68c860 -->|defined in| d9a8da36_aab9_ab33_dc67_870b34dcd270 2989d030_de4c_2246_fade_7d810f505aa2["pollFirstEntry()"] 2989d030_de4c_2246_fade_7d810f505aa2 -->|calls| e1018349_653b_7710_9bf6_715fdd68c860 46a88bc6_04d3_48e3_2fff_16407ed81e0c["baseHead()"] e1018349_653b_7710_9bf6_715fdd68c860 -->|calls| 46a88bc6_04d3_48e3_2fff_16407ed81e0c 14308445_2437_e26b_41bb_c7458d3b14e0["unlinkNode()"] e1018349_653b_7710_9bf6_715fdd68c860 -->|calls| 14308445_2437_e26b_41bb_c7458d3b14e0 a5591d9d_8462_4796_8a91_2dfef6e505cf["tryReduceLevel()"] e1018349_653b_7710_9bf6_715fdd68c860 -->|calls| a5591d9d_8462_4796_8a91_2dfef6e505cf ff16b6d0_47d8_82e1_a033_998f1f35233f["findPredecessor()"] e1018349_653b_7710_9bf6_715fdd68c860 -->|calls| ff16b6d0_47d8_82e1_a033_998f1f35233f f9a987be_7587_17d3_1e33_3b91accd15b7["addCount()"] e1018349_653b_7710_9bf6_715fdd68c860 -->|calls| f9a987be_7587_17d3_1e33_3b91accd15b7 style e1018349_653b_7710_9bf6_715fdd68c860 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java lines 871–888
private IntEntry<V> doRemoveFirstEntry() {
Node<V> b, n; V v;
if ((b = baseHead()) != null) {
while ((n = b.next) != null) {
if ((v = n.val) == null || VAL.compareAndSet(n, v, null)) {
int k = n.key;
unlinkNode(b, n, noKey);
if (v != null) {
tryReduceLevel();
findPredecessor(k); // clean index
addCount(-1L);
return new IntEntry<V>(k, v);
}
}
}
}
return null;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does doRemoveFirstEntry() do?
doRemoveFirstEntry() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java.
Where is doRemoveFirstEntry() defined?
doRemoveFirstEntry() is defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java at line 871.
What does doRemoveFirstEntry() call?
doRemoveFirstEntry() calls 5 function(s): addCount, baseHead, findPredecessor, tryReduceLevel, unlinkNode.
What calls doRemoveFirstEntry()?
doRemoveFirstEntry() is called by 1 function(s): pollFirstEntry.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free