package com.ruoyi.common.core.cache;

record InMemoryCacheEntry(Object value, Long expireAtMillis)
{
    boolean isExpired(long now)
    {
        return expireAtMillis != null && expireAtMillis <= now;
    }
}
