@InterfaceAudience.Private @InterfaceStability.Evolving public static class BlockRecoveryCommand.RecoveringBlock extends LocatedBlock
| Constructor and Description |
|---|
BlockRecoveryCommand.RecoveringBlock(ExtendedBlock b,
DatanodeInfo[] locs,
long newGS)
Create RecoveringBlock.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getNewGenerationStamp()
Return the new generation stamp of the block,
which also plays role of the recovery id.
|
getBlock, getBlockSize, getBlockToken, getLocations, getStartOffset, isCorrupt, setBlockToken, toStringpublic BlockRecoveryCommand.RecoveringBlock(ExtendedBlock b, DatanodeInfo[] locs, long newGS)
Copyright © 2013 Apache Software Foundation. All rights reserved.