Uses of Class
org.tranche.flatfile.DataBlock

Packages that use DataBlock
org.tranche.flatfile The FlatFileTrancheServer handles the routing of data and meta data between the Server instance and the DataBlockUtil, and imposes sercurity. 
 

Uses of DataBlock in org.tranche.flatfile
 

Fields in org.tranche.flatfile declared as DataBlock
protected  DataBlock DataBlockCacheEntry.dataBlock
          Which DataBlock contains the chunk.
 

Methods in org.tranche.flatfile that return DataBlock
protected  DataBlock DataBlockUtil.getDataBlockToAddChunk(BigHash hash)
          Helper method to get the file/dir that matches the given hash.
protected  DataBlock DataBlockUtil.getDataBlockToGetChunk(BigHash bh, boolean isMetaData)
          Finds or creates the appropriate data block for a particular hash.
protected  DataBlock[] DataBlock.getSubBlocks()
          Return the subblocks for this DataBlock.
 

Methods in org.tranche.flatfile with parameters of type DataBlock
static DataBlockCacheEntry DataBlockCacheEntry.create(BigHash chunkHash, DataBlock dataBlock, int offset, int size)
          Create an entry for the cache.
 



This code is free for use both commercially and non-commercially as stated in the project's license