文件名称:读写锁.txt
文件大小:1KB
文件格式:TXT
更新时间:2016-02-21 10:40:18
读写锁
ReentrantLock//互斥锁 class CachedData { Object data; volatile boolean cacheValid; ReentrantReadWriteLock rwl = new ReentrantReadWriteLock();
文件名称:读写锁.txt
文件大小:1KB
文件格式:TXT
更新时间:2016-02-21 10:40:18
读写锁
ReentrantLock//互斥锁 class CachedData { Object data; volatile boolean cacheValid; ReentrantReadWriteLock rwl = new ReentrantReadWriteLock();