Home / Type/ LastBulkStringRedisContent Type — netty Architecture

LastBulkStringRedisContent Type — netty Architecture

Architecture documentation for the LastBulkStringRedisContent type/interface in LastBulkStringRedisContent.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  aeb8d29b_556d_b7cc_ad1c_6964ebf73609["LastBulkStringRedisContent"]
  52543cd8_bf85_153d_f0c9_01b638d5d550["LastBulkStringRedisContent.java"]
  aeb8d29b_556d_b7cc_ad1c_6964ebf73609 -->|defined in| 52543cd8_bf85_153d_f0c9_01b638d5d550
  style aeb8d29b_556d_b7cc_ad1c_6964ebf73609 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-redis/src/main/java/io/netty/handler/codec/redis/LastBulkStringRedisContent.java lines 25–117

@UnstableApi
public interface LastBulkStringRedisContent extends BulkStringRedisContent {

    /**
     * The 'end of content' marker in chunked encoding.
     */
    LastBulkStringRedisContent EMPTY_LAST_CONTENT = new LastBulkStringRedisContent() {

        @Override
        public ByteBuf content() {
            return Unpooled.EMPTY_BUFFER;
        }

        @Override
        public LastBulkStringRedisContent copy() {
            return this;
        }

        @Override
        public LastBulkStringRedisContent duplicate() {
            return this;
        }

        @Override
        public LastBulkStringRedisContent retainedDuplicate() {
            return this;
        }

        @Override
        public LastBulkStringRedisContent replace(ByteBuf content) {
            return new DefaultLastBulkStringRedisContent(content);
        }

        @Override
        public LastBulkStringRedisContent retain(int increment) {
            return this;
        }

        @Override
        public LastBulkStringRedisContent retain() {
            return this;
        }

        @Override
        public int refCnt() {
            return 1;
        }

        @Override
        public LastBulkStringRedisContent touch() {
            return this;
        }

        @Override
        public LastBulkStringRedisContent touch(Object hint) {
            return this;
        }

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

        @Override
        public boolean release(int decrement) {
            return false;
        }
    };

    @Override
    LastBulkStringRedisContent copy();

    @Override
    LastBulkStringRedisContent duplicate();

    @Override
    LastBulkStringRedisContent retainedDuplicate();

    @Override
    LastBulkStringRedisContent replace(ByteBuf content);

Frequently Asked Questions

What is the LastBulkStringRedisContent type?
LastBulkStringRedisContent is a type/interface in the netty codebase, defined in codec-redis/src/main/java/io/netty/handler/codec/redis/LastBulkStringRedisContent.java.
Where is LastBulkStringRedisContent defined?
LastBulkStringRedisContent is defined in codec-redis/src/main/java/io/netty/handler/codec/redis/LastBulkStringRedisContent.java at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free