public interface InterDatanodeProtocol extends VersionedProtocol
限定符和类型 | 字段和说明 |
---|---|
static org.apache.commons.logging.Log |
LOG |
static long |
versionID
3: added a finalize parameter to updateBlock
|
限定符和类型 | 方法和说明 |
---|---|
BlockMetaDataInfo |
getBlockMetaDataInfo(Block block) |
BlockRecoveryInfo |
startBlockRecovery(Block block)
Begin recovery on a block - this interrupts writers and returns the
necessary metadata for recovery to begin.
|
void |
updateBlock(Block oldblock,
Block newblock,
boolean finalize)
Update the block to the new generation stamp and length.
|
getProtocolVersion
static final org.apache.commons.logging.Log LOG
static final long versionID
BlockMetaDataInfo getBlockMetaDataInfo(Block block) throws IOException
IOException
BlockRecoveryInfo startBlockRecovery(Block block) throws IOException
IOException
void updateBlock(Block oldblock, Block newblock, boolean finalize) throws IOException
IOException
Copyright © 2009 The Apache Software Foundation