@Override
    public CookieState state(Cookie cookie, long currentTimeMillis) {
        requireNonNull(cookie, "cookie");
        lock.lock();
        final long createdTimeMillis = store.getOrDefault(cookie, Long.MIN_VALUE);
        lock.unlock();
        if (createdTimeMillis == Long.MIN_VALUE) {
            return CookieState.NON_EXISTENT;
        }
        return isExpired(cookie, createdTimeMillis, currentTimeMillis) ?
               CookieState.EXPIRED : CookieState.EXISTENT;
    }
Used to find cookies for a host that matches a domain. For example, if there is a domain example.com,
host example.com or foo.example.com will match all cookies in that entry.
core/src/main/java/com/linecorp/armeria/client/cookie/DefaultCookieJar.java