Home / Class/ BigEndianUnsafeNoCleanerDirectByteBufTest Class — netty Architecture

BigEndianUnsafeNoCleanerDirectByteBufTest Class — netty Architecture

Architecture documentation for the BigEndianUnsafeNoCleanerDirectByteBufTest class in BigEndianUnsafeNoCleanerDirectByteBufTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f9cb9d31_13bb_656b_dbaf_0596b4385056["BigEndianUnsafeNoCleanerDirectByteBufTest"]
  1fa5c554_6209_8e50_9867_ad4ac81e9ca8["BigEndianUnsafeNoCleanerDirectByteBufTest.java"]
  f9cb9d31_13bb_656b_dbaf_0596b4385056 -->|defined in| 1fa5c554_6209_8e50_9867_ad4ac81e9ca8
  c3cb7069_3643_5e93_54d6_b8a325b9c3dd["init()"]
  f9cb9d31_13bb_656b_dbaf_0596b4385056 -->|method| c3cb7069_3643_5e93_54d6_b8a325b9c3dd
  9687d6e0_24e1_77ef_2b36_5de8309b9b6b["ByteBuf()"]
  f9cb9d31_13bb_656b_dbaf_0596b4385056 -->|method| 9687d6e0_24e1_77ef_2b36_5de8309b9b6b

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/BigEndianUnsafeNoCleanerDirectByteBufTest.java lines 22–36

public class BigEndianUnsafeNoCleanerDirectByteBufTest extends BigEndianDirectByteBufTest {

    @BeforeEach
    @Override
    public void init() {
        Assumptions.assumeTrue(PlatformDependent.useDirectBufferNoCleaner(),
                "java.nio.DirectByteBuffer.<init>(long, int) not found, skip tests");
        super.init();
    }

    @Override
    protected ByteBuf newBuffer(int length, int maxCapacity) {
        return new UnpooledUnsafeNoCleanerDirectByteBuf(UnpooledByteBufAllocator.DEFAULT, length, maxCapacity);
    }
}

Frequently Asked Questions

What is the BigEndianUnsafeNoCleanerDirectByteBufTest class?
BigEndianUnsafeNoCleanerDirectByteBufTest is a class in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/BigEndianUnsafeNoCleanerDirectByteBufTest.java.
Where is BigEndianUnsafeNoCleanerDirectByteBufTest defined?
BigEndianUnsafeNoCleanerDirectByteBufTest is defined in buffer/src/test/java/io/netty/buffer/BigEndianUnsafeNoCleanerDirectByteBufTest.java at line 22.

Analyze Your Own Codebase

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

Try Supermodel Free