Home / Function/ testExpireWithTTL0() — netty Function Reference

testExpireWithTTL0() — netty Function Reference

Architecture documentation for the testExpireWithTTL0() function in DefaultDnsCacheTest.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  5f036341_3cb4_4960_78cc_0df8b0b2f092["testExpireWithTTL0()"]
  6fc766f6_eb26_5b64_4561_08621961737e["DefaultDnsCacheTest"]
  5f036341_3cb4_4960_78cc_0df8b0b2f092 -->|defined in| 6fc766f6_eb26_5b64_4561_08621961737e
  a2a58699_74a8_8687_1a84_74ccf90de916["testExpireWithDifferentTTLs()"]
  a2a58699_74a8_8687_1a84_74ccf90de916 -->|calls| 5f036341_3cb4_4960_78cc_0df8b0b2f092
  style 5f036341_3cb4_4960_78cc_0df8b0b2f092 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/test/java/io/netty/resolver/dns/DefaultDnsCacheTest.java lines 82–92

    private static void testExpireWithTTL0(int days) {
        EventLoopGroup group = new MultiThreadIoEventLoopGroup(1, NioIoHandler.newFactory());

        try {
            EventLoop loop = group.next();
            final DefaultDnsCache cache = new DefaultDnsCache();
            assertNotNull(cache.cache("netty.io", null, NetUtil.LOCALHOST, days, loop));
        } finally {
            group.shutdownGracefully();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testExpireWithTTL0() do?
testExpireWithTTL0() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/DefaultDnsCacheTest.java.
Where is testExpireWithTTL0() defined?
testExpireWithTTL0() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/DefaultDnsCacheTest.java at line 82.
What calls testExpireWithTTL0()?
testExpireWithTTL0() is called by 1 function(s): testExpireWithDifferentTTLs.

Analyze Your Own Codebase

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

Try Supermodel Free