|Modifier and Type||Method and Description|
Creates a new block.
Gets the list of
Removes the file that the target block is stored.
commitBlock, getBlockMap, getPartitions, getSerializedPartitions, putPartitions, putSerializedPartitions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void createBlock(String blockId)
public Boolean removeBlock(String blockId) throws BlockFetchException
blockId- of the block.
BlockFetchException- for any error occurred while trying to remove a block. (This exception will be thrown to the scheduler through
Executorand have to be handled by the scheduler with fault tolerance mechanism.)
FileAreas for the specified block.
Copyright © 2018. All rights reserved.