Home / Function/ addToSpliceQueue() — netty Function Reference

addToSpliceQueue() — netty Function Reference

Architecture documentation for the addToSpliceQueue() function in AbstractEpollStreamChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ca61853f_aed0_02a0_909d_e408f90cfd90["addToSpliceQueue()"]
  6ec314cd_b42f_72bd_344b_f54212398142["AbstractEpollStreamChannel"]
  ca61853f_aed0_02a0_909d_e408f90cfd90 -->|defined in| 6ec314cd_b42f_72bd_344b_f54212398142
  5a972d14_e636_b2d4_6755_e61146b73433["ChannelFuture()"]
  5a972d14_e636_b2d4_6755_e61146b73433 -->|calls| ca61853f_aed0_02a0_909d_e408f90cfd90
  style ca61853f_aed0_02a0_909d_e408f90cfd90 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java lines 845–856

    private void addToSpliceQueue(final SpliceInTask task) {
        Queue<SpliceInTask> sQueue = spliceQueue;
        if (sQueue == null) {
            synchronized (this) {
                sQueue = spliceQueue;
                if (sQueue == null) {
                    spliceQueue = sQueue = PlatformDependent.newMpscQueue();
                }
            }
        }
        sQueue.add(task);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does addToSpliceQueue() do?
addToSpliceQueue() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java.
Where is addToSpliceQueue() defined?
addToSpliceQueue() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java at line 845.
What calls addToSpliceQueue()?
addToSpliceQueue() is called by 1 function(s): ChannelFuture.

Analyze Your Own Codebase

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

Try Supermodel Free