Skip to the content.

Home / cs-notes / Architecture / Components / Netty / EventLoop / ThreadExecutorMap / currentExecutor

    /**
     * Returns the current {@link EventExecutor} that uses the {@link Thread}, or {@code null} if none / unknown.
     */
    public static EventExecutor currentExecutor() {
        return mappings.get();
    }