Home / Function/ testExpireWithToBigMinTTL() — netty Function Reference

testExpireWithToBigMinTTL() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  cc7e17c3_a283_5f86_14b3_00f87423372e["testExpireWithToBigMinTTL()"]
  6fc766f6_eb26_5b64_4561_08621961737e["DefaultDnsCacheTest"]
  cc7e17c3_a283_5f86_14b3_00f87423372e -->|defined in| 6fc766f6_eb26_5b64_4561_08621961737e
  style cc7e17c3_a283_5f86_14b3_00f87423372e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/test/java/io/netty/resolver/dns/DefaultDnsCacheTest.java lines 94–105

    @Test
    public void testExpireWithToBigMinTTL() {
        EventLoopGroup group = new MultiThreadIoEventLoopGroup(1, NioIoHandler.newFactory());

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

Domain

Subdomains

Frequently Asked Questions

What does testExpireWithToBigMinTTL() do?
testExpireWithToBigMinTTL() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/DefaultDnsCacheTest.java.
Where is testExpireWithToBigMinTTL() defined?
testExpireWithToBigMinTTL() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/DefaultDnsCacheTest.java at line 94.

Analyze Your Own Codebase

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

Try Supermodel Free