Interface ReceivedBlockHandler
public interface ReceivedBlockHandler
Trait that represents a class that handles the storage of blocks received by receiver
- 
Method SummaryModifier and TypeMethodDescriptionvoidcleanupOldBlocks(long threshTime) Cleanup old blocks older than the given threshold timestoreBlock(StreamBlockId blockId, ReceivedBlock receivedBlock) Store a received block with the given block id and return related metadata
- 
Method Details- 
cleanupOldBlocksvoid cleanupOldBlocks(long threshTime) Cleanup old blocks older than the given threshold time
- 
storeBlockStore a received block with the given block id and return related metadata
 
-