|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||