@PublicApi @NotThreadSafe public final class BlockInfo extends Object implements Serializable
Constructor and Description |
---|
BlockInfo()
Creates a new instance of
BlockInfo . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getBlockId() |
long |
getLength() |
List<BlockLocation> |
getLocations() |
int |
hashCode() |
BlockInfo |
setBlockId(long blockId) |
BlockInfo |
setLength(long length) |
BlockInfo |
setLocations(List<BlockLocation> locations) |
String |
toString() |
public BlockInfo()
BlockInfo
.public long getBlockId()
public long getLength()
public List<BlockLocation> getLocations()
public BlockInfo setBlockId(long blockId)
blockId
- the block id to usepublic BlockInfo setLength(long length)
length
- the block length to usepublic BlockInfo setLocations(List<BlockLocation> locations)
locations
- the block locations to useCopyright © 2023. All Rights Reserved.