NetUtilNetworkInterfacesAccessor Class — netty Architecture
Architecture documentation for the NetUtilNetworkInterfacesAccessor class in NetUtilSubstitutions.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5633de36_3ad1_0e55_da35_3c177a574fc3["NetUtilNetworkInterfacesAccessor"] 57f5862a_d0d4_2cbc_571e_8864156d87d0["NetUtilSubstitutions.java"] 5633de36_3ad1_0e55_da35_3c177a574fc3 -->|defined in| 57f5862a_d0d4_2cbc_571e_8864156d87d0 02e02970_ec62_2396_cad1_c2c765d16b49["get()"] 5633de36_3ad1_0e55_da35_3c177a574fc3 -->|method| 02e02970_ec62_2396_cad1_c2c765d16b49 87255d8c_2efd_53bb_b77c_9d0f0e251002["set()"] 5633de36_3ad1_0e55_da35_3c177a574fc3 -->|method| 87255d8c_2efd_53bb_b77c_9d0f0e251002
Relationship Graph
Source Code
common/src/main/java/io/netty/util/NetUtilSubstitutions.java lines 97–106
private static final class NetUtilNetworkInterfacesAccessor {
static Collection<NetworkInterface> get() {
// using https://en.wikipedia.org/wiki/Initialization-on-demand_holder_idiom
return NetUtilNetworkInterfacesLazyHolder.NETWORK_INTERFACES;
}
static void set(Collection<NetworkInterface> ignored) {
// a no-op setter to avoid exceptions when NetUtil is initialized at run-time
}
}
Source
Frequently Asked Questions
What is the NetUtilNetworkInterfacesAccessor class?
NetUtilNetworkInterfacesAccessor is a class in the netty codebase, defined in common/src/main/java/io/netty/util/NetUtilSubstitutions.java.
Where is NetUtilNetworkInterfacesAccessor defined?
NetUtilNetworkInterfacesAccessor is defined in common/src/main/java/io/netty/util/NetUtilSubstitutions.java at line 97.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free