@ThreadSafe public final class BlockHeartbeatReport extends Object
Constructor and Description |
---|
BlockHeartbeatReport(Map<String,List<Long>> addedBlocks,
List<Long> removedBlocks)
Creates a new instance of
BlockHeartbeatReport . |
Modifier and Type | Method and Description |
---|---|
Map<String,List<Long>> |
getAddedBlocks()
Gets the list of blocks added by the worker in the heartbeat this report represents.
|
List<Long> |
getRemovedBlocks()
Gets the list of blocks removed from this worker in the heartbeat this report represents.
|
Copyright © 2023. All Rights Reserved.