Home / Class/ Tasks Class — netty Architecture

Tasks Class — netty Architecture

Architecture documentation for the Tasks class in AbstractChannelHandlerContext.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e0223da4_e743_dc42_287d_95c1dfd31cd0["Tasks"]
  c58110f1_60ae_157d_f668_f5a6356af671["AbstractChannelHandlerContext.java"]
  e0223da4_e743_dc42_287d_95c1dfd31cd0 -->|defined in| c58110f1_60ae_157d_f668_f5a6356af671
  7aae21d9_2d06_552d_1840_221a43991a5c["Tasks()"]
  e0223da4_e743_dc42_287d_95c1dfd31cd0 -->|method| 7aae21d9_2d06_552d_1840_221a43991a5c

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java lines 1155–1167

    static final class Tasks {
        final Runnable fireChannelReadCompleteTask;
        private final Runnable readTask;
        private final Runnable fireChannelWritabilityChangedTask;
        private final Runnable flushTask;

        Tasks(AbstractChannelHandlerContext ctx) {
            fireChannelReadCompleteTask = ctx::fireChannelReadComplete;
            readTask = ctx::read;
            fireChannelWritabilityChangedTask = ctx::fireChannelWritabilityChanged;
            flushTask = ctx::flush;
        }
    }

Frequently Asked Questions

What is the Tasks class?
Tasks is a class in the netty codebase, defined in transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java.
Where is Tasks defined?
Tasks is defined in transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java at line 1155.

Analyze Your Own Codebase

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

Try Supermodel Free