servicetalk-dns-discovery-netty/src/main/java/io/servicetalk/dns/discovery/netty/DefaultDnsServiceDiscovererBuilder.java
/**
     * The minimum allowed TTL. This will be the minimum poll interval.
     *
     * @param minTTLSeconds The minimum amount of time a cache entry will be considered valid (in seconds).
     * @return {@code this}.
     */
The minimum allowed TTL. This will be the minimum poll interval.
@param minTTLSeconds The minimum amount of time a cache entry will be considered valid (in seconds).
@return  this.
The minimum allowed TTL . This will be the minimum poll interval . @param minTTLSeconds The minimum amount of time a cache entry will be considered valid ( in seconds ) . @return this .
public DefaultDnsServiceDiscovererBuilder minTTL(final int minTTLSeconds) {
        if (minTTLSeconds <= 0) {
            throw new IllegalArgumentException("minTTLSeconds: " + minTTLSeconds + " (expected > 0)");
        }
        this.minTTLSeconds = minTTLSeconds;
        return this;
    }
public DefaultDnsServiceDiscovererBuilder minTTL ( final int minTTLSeconds ) { if ( minTTLSeconds <= 0 ) { throw new IllegalArgumentException ( "minTTLSeconds: " + minTTLSeconds + " (expected > 0)" ) ; } this . minTTLSeconds = minTTLSeconds ; return this ; }
The minimum allowed TTL.
The minimum allowed TTL .