Home / Function/ BinaryMemcacheMessage() — netty Function Reference

BinaryMemcacheMessage() — netty Function Reference

Architecture documentation for the BinaryMemcacheMessage() function in AbstractBinaryMemcacheMessage.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  097143c0_1b13_b841_6b46_b25ba53ebb2b["BinaryMemcacheMessage()"]
  ffe7b0b6_2f66_d017_9ac8_42abbc66026f["AbstractBinaryMemcacheMessage"]
  097143c0_1b13_b841_6b46_b25ba53ebb2b -->|defined in| ffe7b0b6_2f66_d017_9ac8_42abbc66026f
  style 097143c0_1b13_b841_6b46_b25ba53ebb2b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheMessage.java lines 73–83

    @Override
    public BinaryMemcacheMessage setKey(ByteBuf key) {
        if (this.key != null) {
            this.key.release();
        }
        this.key = key;
        short oldKeyLength = keyLength;
        keyLength = key == null ? 0 : (short) key.readableBytes();
        totalBodyLength = totalBodyLength + keyLength - oldKeyLength;
        return this;
    }

Domain

Subdomains

Frequently Asked Questions

What does BinaryMemcacheMessage() do?
BinaryMemcacheMessage() is a function in the netty codebase, defined in codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheMessage.java.
Where is BinaryMemcacheMessage() defined?
BinaryMemcacheMessage() is defined in codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheMessage.java at line 73.

Analyze Your Own Codebase

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

Try Supermodel Free