@InterfaceAudience.Private public interface BlockCollection
Modifier and Type | Method and Description |
---|---|
ContentSummary |
computeContentSummary()
Get content summary.
|
short |
getBlockReplication()
Get block replication for the collection
|
BlockInfo[] |
getBlocks()
Get the blocks.
|
BlockInfo |
getLastBlock()
Get the last block of the collection.
|
String |
getName()
Get the name of the collection.
|
long |
getPreferredBlockSize()
Get preferred block size for the collection
|
int |
numBlocks() |
BlockInfo getLastBlock() throws IOException
IOException
ContentSummary computeContentSummary()
int numBlocks()
BlockInfo[] getBlocks()
long getPreferredBlockSize()
short getBlockReplication()
String getName()
Copyright © 2013 Apache Software Foundation. All rights reserved.