Home / Function/ setOwningThread() — netty Function Reference

setOwningThread() — netty Function Reference

Architecture documentation for the setOwningThread() function in ManualIoEventLoop.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  41e9d1f1_bf96_2fb6_4dfc_06523c7f8c56["setOwningThread()"]
  6e8a7bbd_d782_0f59_8bd2_22f815f8ecad["ManualIoEventLoop"]
  41e9d1f1_bf96_2fb6_4dfc_06523c7f8c56 -->|defined in| 6e8a7bbd_d782_0f59_8bd2_22f815f8ecad
  style 41e9d1f1_bf96_2fb6_4dfc_06523c7f8c56 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/ManualIoEventLoop.java lines 436–441

    public final void setOwningThread(Thread owningThread) {
        Objects.requireNonNull(owningThread, "owningThread");
        if (!this.owningThread.compareAndSet(null, owningThread)) {
            throw new IllegalStateException("Owning thread already set");
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does setOwningThread() do?
setOwningThread() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/ManualIoEventLoop.java.
Where is setOwningThread() defined?
setOwningThread() is defined in transport/src/main/java/io/netty/channel/ManualIoEventLoop.java at line 436.

Analyze Your Own Codebase

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

Try Supermodel Free