Home / Class/ NoMemoryAddressByteBuf Class — netty Architecture

NoMemoryAddressByteBuf Class — netty Architecture

Architecture documentation for the NoMemoryAddressByteBuf class in IovArrayTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5e263021_7e9e_2b6a_67b5_b378a6e36874["NoMemoryAddressByteBuf"]
  154e7a02_e529_9e75_fab2_7c55e3797630["IovArrayTest.java"]
  5e263021_7e9e_2b6a_67b5_b378a6e36874 -->|defined in| 154e7a02_e529_9e75_fab2_7c55e3797630
  0bea9967_e84b_4dff_440c_05a557baa9f0["NoMemoryAddressByteBuf()"]
  5e263021_7e9e_2b6a_67b5_b378a6e36874 -->|method| 0bea9967_e84b_4dff_440c_05a557baa9f0
  be941ec3_82e9_d25c_7863_fd9a9074fb3d["hasMemoryAddress()"]
  5e263021_7e9e_2b6a_67b5_b378a6e36874 -->|method| be941ec3_82e9_d25c_7863_fd9a9074fb3d
  cd5116ac_7c1c_952c_90c3_5431cc0815d0["memoryAddress()"]
  5e263021_7e9e_2b6a_67b5_b378a6e36874 -->|method| cd5116ac_7c1c_952c_90c3_5431cc0815d0

Relationship Graph

Source Code

transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests/IovArrayTest.java lines 49–64

    private static final class NoMemoryAddressByteBuf extends UnpooledDirectByteBuf {

        NoMemoryAddressByteBuf(int capacity) {
            super(UnpooledByteBufAllocator.DEFAULT, capacity, Integer.MAX_VALUE);
        }

        @Override
        public boolean hasMemoryAddress() {
            return false;
        }

        @Override
        public long memoryAddress() {
            throw new UnsupportedOperationException();
        }
    }

Frequently Asked Questions

What is the NoMemoryAddressByteBuf class?
NoMemoryAddressByteBuf is a class in the netty codebase, defined in transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests/IovArrayTest.java.
Where is NoMemoryAddressByteBuf defined?
NoMemoryAddressByteBuf is defined in transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests/IovArrayTest.java at line 49.

Analyze Your Own Codebase

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

Try Supermodel Free