Interface BlockSplitter
-
public interface BlockSplitterInterface for splitting transferable blocks. This is used for ensuring that the blocks that are sent along the wire play nicely with the underlying transport.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterator<TransferableBlock>split(TransferableBlock block, DataBlock.Type type, int maxBlockSize)
-
-
-
Method Detail
-
split
Iterator<TransferableBlock> split(TransferableBlock block, DataBlock.Type type, int maxBlockSize)
- Returns:
- a list of blocks that was split from the original
block
-
-