Home / Function/ clearSpliceQueue() — netty Function Reference

clearSpliceQueue() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  87859355_6ea4_99a9_9451_4eb364a4f6c7["clearSpliceQueue()"]
  6ec314cd_b42f_72bd_344b_f54212398142["AbstractEpollStreamChannel"]
  87859355_6ea4_99a9_9451_4eb364a4f6c7 -->|defined in| 6ec314cd_b42f_72bd_344b_f54212398142
  9018916a_ad69_8dc8_7d33_1de39ca95b1c["failSpliceIfClosed()"]
  9018916a_ad69_8dc8_7d33_1de39ca95b1c -->|calls| 87859355_6ea4_99a9_9451_4eb364a4f6c7
  4c1d928e_3480_799c_0e69_d72066550f4b["doClose()"]
  4c1d928e_3480_799c_0e69_d72066550f4b -->|calls| 87859355_6ea4_99a9_9451_4eb364a4f6c7
  style 87859355_6ea4_99a9_9451_4eb364a4f6c7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java lines 686–701

    private void clearSpliceQueue(ClosedChannelException exception) {
        Queue<SpliceInTask> sQueue = spliceQueue;
        if (sQueue == null) {
            return;
        }
        for (;;) {
            SpliceInTask task = sQueue.poll();
            if (task == null) {
                break;
            }
            if (exception == null) {
                exception = new ClosedChannelException();
            }
            task.promise.tryFailure(exception);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does clearSpliceQueue() do?
clearSpliceQueue() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java.
Where is clearSpliceQueue() defined?
clearSpliceQueue() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java at line 686.
What calls clearSpliceQueue()?
clearSpliceQueue() is called by 2 function(s): doClose, failSpliceIfClosed.

Analyze Your Own Codebase

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

Try Supermodel Free