Home / Function/ testWithoutUseCacheForAllThreads() — netty Function Reference

testWithoutUseCacheForAllThreads() — netty Function Reference

Architecture documentation for the testWithoutUseCacheForAllThreads() function in PooledByteBufAllocatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b9601684_1fea_4518_0160_fa04ca337931["testWithoutUseCacheForAllThreads()"]
  f8855572_2abf_1bf6_a32b_5cf6d1cf4947["PooledByteBufAllocatorTest"]
  b9601684_1fea_4518_0160_fa04ca337931 -->|defined in| f8855572_2abf_1bf6_a32b_5cf6d1cf4947
  4e681469_9c14_67cb_5890_46b5d4b12dd2["PooledByteBufAllocator()"]
  b9601684_1fea_4518_0160_fa04ca337931 -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  style b9601684_1fea_4518_0160_fa04ca337931 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java lines 135–151

    @Test
    public void testWithoutUseCacheForAllThreads() {
        assertThat(Thread.currentThread()).isNotInstanceOf(FastThreadLocalThread.class);

        PooledByteBufAllocator pool = new PooledByteBufAllocator(
                /*preferDirect=*/ false,
                /*nHeapArena=*/ 1,
                /*nDirectArena=*/ 1,
                /*pageSize=*/8192,
                /*maxOrder=*/ 9,
                /*tinyCacheSize=*/ 0,
                /*smallCacheSize=*/ 0,
                /*normalCacheSize=*/ 0,
                /*useCacheForAllThreads=*/ false);
        ByteBuf buf = pool.buffer(1);
        buf.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does testWithoutUseCacheForAllThreads() do?
testWithoutUseCacheForAllThreads() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java.
Where is testWithoutUseCacheForAllThreads() defined?
testWithoutUseCacheForAllThreads() is defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java at line 135.
What does testWithoutUseCacheForAllThreads() call?
testWithoutUseCacheForAllThreads() calls 1 function(s): PooledByteBufAllocator.

Analyze Your Own Codebase

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

Try Supermodel Free