net.wicp.tams.common.thread.threadlocal.PerthreadManager Maven / Gradle / Ivy
package net.wicp.tams.common.thread.threadlocal;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import net.wicp.tams.common.apiext.CollectionUtil;
/****
* 每个线程的实例封装
*
* @author zhoujunhui
*
*/
@SuppressWarnings("all")
public class PerthreadManager {
private static PerthreadManager INSTANCE = new PerthreadManager();
private PerthreadManager() {
}
public static final PerthreadManager getInstance() {
return INSTANCE;
}
public static class MapHolder extends ThreadLocal