Home / Class/ TestFastThreadLocal Class — netty Architecture

TestFastThreadLocal Class — netty Architecture

Architecture documentation for the TestFastThreadLocal class in FastThreadLocalTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f6a9cb2f_68d9_fde8_6a7d_edc6a679979b["TestFastThreadLocal"]
  8487d652_7084_0729_ca43_9b105405e7a0["FastThreadLocalTest.java"]
  f6a9cb2f_68d9_fde8_6a7d_edc6a679979b -->|defined in| 8487d652_7084_0729_ca43_9b105405e7a0
  4ad6dafe_bd02_a492_45df_68023a1419c4["String()"]
  f6a9cb2f_68d9_fde8_6a7d_edc6a679979b -->|method| 4ad6dafe_bd02_a492_45df_68023a1419c4
  9937339a_65f9_5ac1_da91_c4ab3f60d753["onRemoval()"]
  f6a9cb2f_68d9_fde8_6a7d_edc6a679979b -->|method| 9937339a_65f9_5ac1_da91_c4ab3f60d753

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/FastThreadLocalTest.java lines 324–337

    private static final class TestFastThreadLocal extends FastThreadLocal<String> {

        final AtomicReference<String> onRemovalCalled = new AtomicReference<String>();

        @Override
        protected String initialValue() throws Exception {
            return Thread.currentThread().getName();
        }

        @Override
        protected void onRemoval(String value) throws Exception {
            onRemovalCalled.set(value);
        }
    }

Frequently Asked Questions

What is the TestFastThreadLocal class?
TestFastThreadLocal is a class in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/FastThreadLocalTest.java.
Where is TestFastThreadLocal defined?
TestFastThreadLocal is defined in common/src/test/java/io/netty/util/concurrent/FastThreadLocalTest.java at line 324.

Analyze Your Own Codebase

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

Try Supermodel Free