@Override
    public void onEviction(DnsQuestion question, @Nullable List<DnsRecord> records,
                           @Nullable UnknownHostException cause) {
        if (resolverClosed) {
            return;
        }

        final DnsRecordType type = question.type();
        if (!(type.equals(DnsRecordType.A) || type.equals(DnsRecordType.AAAA))) {
            // AddressResolver only uses A or AAAA.
            return;
        }

        final DnsQuestionWithoutTrailingDot cast = (DnsQuestionWithoutTrailingDot) question;
        // The DnsCache is full. Don't schedule refreshing because it may cause another eviction.
        addressResolverCache.invalidate(cast.originalName());
    }
Invoked when the resolutions of {@link DnsQuestion} cached by {@code CachingDnsResolver} is removed.
Resends the {@link DnsQuestion} to refresh the old {@link DnsRecord}s.
If the previous {@link DnsQuestion} was not completed with {@link CacheEntry#refreshable()},
the {@link DnsQuestion} is no more automatically refreshed.
core/src/main/java/com/linecorp/armeria/client/RefreshingAddressResolver.java