ModeShape/modeshape — pull request #993 by yulgit1 (2013-11-01 21:17:59+00:00)
Title: MODE-2087.1 FileSystemConnector subclass to compute BinaryValue hash when contentBasedSha1=false

This PR is submitted in replacement of:
https://github.com/ModeShape/modeshape/pull/989
https://github.com/ModeShape/modeshape/pull/975

LargeFileSystemConnector - use with "contentBasedSha1=false" option for federation of directories of large static files

When using option contentBasedSha1=false, the BinaryValue key is a hash of the path URL (taking .001 seconds to compute) rather than the content (taking ~minutes~hours to compute for large files). This connector generates lazily (when invoking methods getHash() or getHexHash() on the BinaryValue) the hash of content seperately from the key.