BlockVoidLifecycle implements BlockLifecycle
FinalYes
Interfaces
- BlockLifecycle
- A callback interface representing block of data lifecycle.
Methods
- create() : void
- filled() : void
- Method called by the Blocks collection when the block is filled with data and can be uploaded to the remote filesystem.
Methods
create()
public
create(int $size, Block $block) : void
Parameters
- $size : int
- $block : Block
filled()
Method called by the Blocks collection when the block is filled with data and can be uploaded to the remote filesystem.
public
filled(Block $block) : void
If necessary after uploading a block, it's identifier should be appended to the BlockList that at the end will be used to commit the block list into a file.
Parameters
- $block : Block