@ThreadSafe public class BlockTransferInfo extends Object
Constructor and Description |
---|
BlockTransferInfo(long blockId,
BlockStoreLocation srcLocation,
BlockStoreLocation dstLocation)
Creates a new instance of
BlockTransferInfo . |
Modifier and Type | Method and Description |
---|---|
long |
getBlockId() |
BlockStoreLocation |
getDstLocation() |
BlockStoreLocation |
getSrcLocation() |
String |
toString() |
public BlockTransferInfo(long blockId, BlockStoreLocation srcLocation, BlockStoreLocation dstLocation)
BlockTransferInfo
.blockId
- the block idsrcLocation
- the source BlockStoreLocation
dstLocation
- the destination BlockStoreLocation
public long getBlockId()
public BlockStoreLocation getSrcLocation()
BlockStoreLocation
public BlockStoreLocation getDstLocation()
BlockStoreLocation
Copyright © 2023. All Rights Reserved.