Home / Function/ resetCompleted() — netty Function Reference

resetCompleted() — netty Function Reference

Architecture documentation for the resetCompleted() function in BurstCostExecutorsBenchmark.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  ceb292d6_44ba_a8b2_76fb_0df3236e3a9a["resetCompleted()"]
  896af492_7d6f_2782_9162_a58f217dc636["PerThreadState"]
  ceb292d6_44ba_a8b2_76fb_0df3236e3a9a -->|defined in| 896af492_7d6f_2782_9162_a58f217dc636
  f613e735_da60_ce3e_dba8_b3a093d55921["executeBurst()"]
  f613e735_da60_ce3e_dba8_b3a093d55921 -->|calls| ceb292d6_44ba_a8b2_76fb_0df3236e3a9a
  style ceb292d6_44ba_a8b2_76fb_0df3236e3a9a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/concurrent/BurstCostExecutorsBenchmark.java lines 279–284

        public void resetCompleted() {
            //We can avoid the full barrier cost of a volatile set given that
            //the counter can be reset from a single thread and it should be reset
            //only after any submitted tasks are completed
            DONE_UPDATER.lazySet(this, 0);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does resetCompleted() do?
resetCompleted() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/concurrent/BurstCostExecutorsBenchmark.java.
Where is resetCompleted() defined?
resetCompleted() is defined in microbench/src/main/java/io/netty/microbench/concurrent/BurstCostExecutorsBenchmark.java at line 279.
What calls resetCompleted()?
resetCompleted() is called by 1 function(s): executeBurst.

Analyze Your Own Codebase

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

Try Supermodel Free