文章列表
1、将sqlite的最轻量orm框架优化
2、添加方法同步锁
private Lock writeLock = new ReentrantLock();
private volatile boolean writeLocked = false;
private void lock() {
writeLock.lock();
writeLocked = true;
}
private void unlock() {
if (wri ...
- 2014-06-04 20:51
- 浏览 514
- 评论(0)