Home / Function/ reportTooManyInstances() — netty Function Reference

reportTooManyInstances() — netty Function Reference

Architecture documentation for the reportTooManyInstances() function in HashedWheelTimer.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b05d0e90_3dd2_9840_f6fd_508e63a96f2f["reportTooManyInstances()"]
  0a75019c_ba28_3729_1e96_e0724c6ddc24["HashedWheelTimer"]
  b05d0e90_3dd2_9840_f6fd_508e63a96f2f -->|defined in| 0a75019c_ba28_3729_1e96_e0724c6ddc24
  fa8fd23b_8f91_6574_968e_772c307cdc19["HashedWheelTimer()"]
  fa8fd23b_8f91_6574_968e_772c307cdc19 -->|calls| b05d0e90_3dd2_9840_f6fd_508e63a96f2f
  style b05d0e90_3dd2_9840_f6fd_508e63a96f2f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/HashedWheelTimer.java lines 467–474

    private static void reportTooManyInstances() {
        if (logger.isErrorEnabled()) {
            String resourceType = simpleClassName(HashedWheelTimer.class);
            logger.error("You are creating too many " + resourceType + " instances. " +
                    resourceType + " is a shared resource that must be reused across the JVM, " +
                    "so that only a few instances are created.");
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does reportTooManyInstances() do?
reportTooManyInstances() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/HashedWheelTimer.java.
Where is reportTooManyInstances() defined?
reportTooManyInstances() is defined in common/src/main/java/io/netty/util/HashedWheelTimer.java at line 467.
What calls reportTooManyInstances()?
reportTooManyInstances() is called by 1 function(s): HashedWheelTimer.

Analyze Your Own Codebase

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

Try Supermodel Free