CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals Class — netty Architecture
Architecture documentation for the CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals class in AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4c229751_433e_043b_e189_290e6f544ee6["CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals"] 28922f79_99ab_afa7_65e5_acd0b665729d["AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.java"] 4c229751_433e_043b_e189_290e6f544ee6 -->|defined in| 28922f79_99ab_afa7_65e5_acd0b665729d 6d81e738_860d_4da1_e906_44a8bdf1048e["CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals()"] 4c229751_433e_043b_e189_290e6f544ee6 -->|method| 6d81e738_860d_4da1_e906_44a8bdf1048e 3079a05f_3e66_8165_10bd_34e2bd0921ce["willCleanupFastThreadLocals()"] 4c229751_433e_043b_e189_290e6f544ee6 -->|method| 3079a05f_3e66_8165_10bd_34e2bd0921ce 713972fe_68a2_3027_38c6_b39bf61a57a1["run()"] 4c229751_433e_043b_e189_290e6f544ee6 -->|method| 713972fe_68a2_3027_38c6_b39bf61a57a1
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.java lines 58–76
private static final class CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals
extends FastThreadLocalThread implements Runnable {
private final Runnable runnable;
private CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals(Runnable runnable) {
this.runnable = ObjectUtil.checkNotNull(runnable, "runnable");
}
@Override
public boolean willCleanupFastThreadLocals() {
return false;
}
@Override
public void run() {
runnable.run(); // Without calling `FastThreadLocal.removeAll()`.
}
}
Defined In
Source
Frequently Asked Questions
What is the CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals class?
CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals is a class in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.java.
Where is CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals defined?
CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals is defined in buffer/src/test/java/io/netty/buffer/AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.java at line 58.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free