[freenet-cvs] r20888 - branches/saltedhashstore/freenet/src/freenet/store
j16sdiz at freenetproject.org
j16sdiz at freenetproject.org
Tue Jul 1 08:30:31 UTC 2008
Author: j16sdiz
Date: 2008-07-01 08:30:31 +0000 (Tue, 01 Jul 2008)
New Revision: 20888
Modified:
branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
Log:
rename batchReadEntries to batchProcessEntries
Modified: branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
===================================================================
--- branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java 2008-07-01 08:09:13 UTC (rev 20887)
+++ branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java 2008-07-01 08:30:31 UTC (rev 20888)
@@ -958,7 +958,7 @@
if (shutdown)
return;
- batchReadEntries(curOffset, RESIZE_MEMORY_ENTRIES, new BatchProcessor() {
+ batchProcessEntries(curOffset, RESIZE_MEMORY_ENTRIES, new BatchProcessor() {
public Entry processs(Entry entry) {
if (entry.getStoreSize() == storeSize) // new size
return NOT_MODIFIED;
@@ -1027,7 +1027,7 @@
bloomFilter.discard();
return;
}
- batchReadEntries(curOffset, RESIZE_MEMORY_ENTRIES, new BatchProcessor() {
+ batchProcessEntries(curOffset, RESIZE_MEMORY_ENTRIES, new BatchProcessor() {
public Entry processs(Entry entry) {
if (entry.getGeneration() != generation) {
bloomFilter.updateFilter(entry.getDigestedRoutingKey());
@@ -1068,7 +1068,7 @@
* @return <code>true</code> if operation complete successfully; <code>false</code>
* otherwise (e.g. can't acquire locks, node shutting down)
*/
- private boolean batchReadEntries(long offset, int length, BatchProcessor processor) {
+ private boolean batchProcessEntries(long offset, int length, BatchProcessor processor) {
assert offset % FILE_SPLIT == 0;
assert length % FILE_SPLIT == 0;
More information about the cvs
mailing list