org.rx.core.cache.CaffeineExpiry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxlib Show documentation
Show all versions of rxlib Show documentation
A set of utilities for Java
package org.rx.core.cache;
import com.github.benmanes.caffeine.cache.Expiry;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.checkerframework.checker.index.qual.NonNegative;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.rx.core.CachePolicy;
import org.rx.core.IOC;
import org.rx.core.RxConfig;
import org.rx.core.Sys;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import static org.rx.core.Extends.as;
//@Slf4j
@RequiredArgsConstructor
class CaffeineExpiry implements Expiry