Added the possibility to set a common user agent used in all the httpRequests
added getsize method to flashcache
added rms size checking function
fixed bug that caused clearfreespace method to crash since we but keys instead of digest to vector
fixed mistake in the clearspace function. It was throwing exception when we had cleared enough space and it should throw only if don't clear enought space.
Restored "User-Agent" HTTP request parameter to HttpGetter as a static
Fixed a bug in StaticCache.accessOrder. Contents should always be Digest not Key
Running more queues during shutdown, in case something were accidentally put on serial, fastlane etc
HttpGetter spawned during shutdown will exit immediately, not slow the shutdown. This can happen through complex race conditions of ongoing tasks that are not immeidately canceled.
Added getSize() accessor to show bytes used by the StaticCache
Merge branch 'master' into revert-tantalum-pre02
fixed again the logical check error in clearspace method in StaticCache class
setRetriesRemaining(0) when reading on HTTP and shutdown starts. Reduces work to retry and still do nothing.
Wait for a boolean to change on shutdown (and q.notifyAll() threads) rather than wait for the Worker thread to be completely collected by the platform and Thread.join() signal returns true. This soft-signal should be the same as Thread.join() but may work around platform slowness issues