public CacheValue newInstance ( CacheDirectory directory , String fileName ) { return newInstance ( directory , fileName , getCacheBlockSize ( directory , fileName ) ) ; }
Creates a new instance of CacheValue the cache capacity should be used for the given file .