Home / Function/ callUnsafeCloseMultipleTimes() — netty Function Reference

callUnsafeCloseMultipleTimes() — netty Function Reference

Architecture documentation for the callUnsafeCloseMultipleTimes() function in Http2MultiplexTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5594d657_a986_03a4_645a_54164eed251f["callUnsafeCloseMultipleTimes()"]
  4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"]
  5594d657_a986_03a4_645a_54164eed251f -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09
  style 5594d657_a986_03a4_645a_54164eed251f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 1231–1241

    @Test
    public void callUnsafeCloseMultipleTimes() {
        LastInboundHandler inboundHandler = new LastInboundHandler();
        Http2StreamChannel childChannel = newInboundStream(3, false, inboundHandler);
        childChannel.unsafe().close(childChannel.voidPromise());

        ChannelPromise promise = childChannel.newPromise();
        childChannel.unsafe().close(promise);
        promise.syncUninterruptibly();
        childChannel.closeFuture().syncUninterruptibly();
    }

Domain

Subdomains

Frequently Asked Questions

What does callUnsafeCloseMultipleTimes() do?
callUnsafeCloseMultipleTimes() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is callUnsafeCloseMultipleTimes() defined?
callUnsafeCloseMultipleTimes() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 1231.

Analyze Your Own Codebase

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

Try Supermodel Free