add a new store: CachingFreenetStore
wrap SaltedHashFreenetStore with CachingStore in makeStore
CachingFreenetStore: change maxSize and size in long, delete getter and setter of MaxSize, fix cacheMaxSize in Node too
make cachingFreenetStoreMaxSize configurable
add throw new NodeNeedRestartException in set of cachingFreenetStoreMaxSize because it cannot be changed on the fly
change cachingFreenetStoreMaxSizeLong to cachingFreenetStoreMaxSize
modify size when collisionPossible is true and overwrite is false
Add cachingFreenetStorePeriod and make it configurable like cachingFreenetStoreMaxSize and use it in makeStore instead of PURGE_INTERVAL
add TestCase CachingFreenetStoreTest that test CachingFreenetStore with SaltedHashFreenetStore and CHKBlock
make maxSize and period final in CachingFreenetStore
make configLock final in CachingFreenetStore
change blocksByRoutingKey.size() > 0 in \!blocksByRoutingKey.isEmpty() in CachingFreenetStore
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. Fix it in CachingFreenetStore
remove useless lines in second branch in put of CachingStore and make an else instead of another if
avoid double-negatives, make cacheIt = true instead of dontCacheIt = false
remove useless local variable cachingStore in makeStore
Compute size of the block before take the write lock
add close to FreenetStore API
add close in test testCachingFreenetStore of CachingFreenetStoreTest
change default value of cachingFreenetStorePeriod from 60k to 300k