摘要:
转自:http://www.oschina.net/code/snippet_55577_3887 1 package test; 2 3 import java.util.Map; 4 import java.util.WeakHashMap; 5 import java.util.concurrent.ConcurrentHashMap; 6 import java.util.concurrent.locks.Lock; 7 import java.util.concurrent.locks.ReentrantLock; 8 9 public final class SimpleCac.. 阅读全文