org.rx.core.cache.ThreadCache 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 io.netty.util.concurrent.FastThreadLocal;
//import lombok.AccessLevel;
//import lombok.NoArgsConstructor;
//import org.rx.core.Cache;
//import org.rx.core.CachePolicy;
//import org.rx.core.IOC;
//
//import java.util.Collection;
//import java.util.Map;
//import java.util.Set;
//import java.util.WeakHashMap;
//
//import static org.rx.core.Constants.NON_UNCHECKED;
//
//@SuppressWarnings(NON_UNCHECKED)
//@NoArgsConstructor(access = AccessLevel.PRIVATE)
//public final class ThreadCache implements Cache {
// //Java 11 HashMap.computeIfAbsent java.util.ConcurrentModificationException
// static final FastThreadLocal