Switch touch queue to concurrent map - remove synchronize

This commit is contained in:
Mike Primm 2012-01-10 14:47:25 +08:00 committed by mikeprimm
parent 530eb0ae9e
commit db3ab5a437
2 changed files with 28 additions and 23 deletions

View file

@ -61,7 +61,7 @@ public class SnapshotCache {
snapcache.reverselookup.remove(rec.ref);
rec.ref.clear();
}
processRefQueue();
//processRefQueue();
}
/**
* Invalidate cached snapshot, if in cache
@ -77,7 +77,7 @@ public class SnapshotCache {
}
}
}
processRefQueue();
//processRefQueue();
}
/**
* Look for chunk snapshot in cache