Home / Type/ RedisMessagePool Type — netty Architecture

RedisMessagePool Type — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  385e028e_0f36_6f9b_9734_3608db145c38["RedisMessagePool"]
  464828f0_393c_e62f_f636_55a6bc07ddcc["RedisMessagePool.java"]
  385e028e_0f36_6f9b_9734_3608db145c38 -->|defined in| 464828f0_393c_e62f_f636_55a6bc07ddcc
  style 385e028e_0f36_6f9b_9734_3608db145c38 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-redis/src/main/java/io/netty/handler/codec/redis/RedisMessagePool.java lines 24–62

@UnstableApi

public interface RedisMessagePool {

    /**
     * Returns {@link SimpleStringRedisMessage} for given {@code content}. Returns {@code null} it does not exist.
     */
    SimpleStringRedisMessage getSimpleString(String content);

    /**
     * Returns {@link SimpleStringRedisMessage} for given {@code content}. Returns {@code null} it does not exist.
     */
    SimpleStringRedisMessage getSimpleString(ByteBuf content);

    /**
     * Returns {@link ErrorRedisMessage} for given {@code content}. Returns {@code null} it does not exist.
     */
    ErrorRedisMessage getError(String content);

    /**
     * Returns {@link ErrorRedisMessage} for given {@code content}. Returns {@code null} it does not exist.
     */
    ErrorRedisMessage getError(ByteBuf content);

    /**
     * Returns {@link IntegerRedisMessage} for given {@code value}. Returns {@code null} it does not exist.
     */
    IntegerRedisMessage getInteger(long value);

    /**
     * Returns {@link IntegerRedisMessage} for given {@code content}. Returns {@code null} it does not exist.
     */
    IntegerRedisMessage getInteger(ByteBuf content);

    /**
     * Returns {@code byte[]} for given {@code msg}. Returns {@code null} it does not exist.
     */
    byte[] getByteBufOfInteger(long value);
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free