限定符和类型 | 方法和说明 |
---|---|
boolean |
blockExists(long blockId) |
void |
deleteBlock(Block block) |
void |
deleteINode(Path path) |
void |
dump()
Diagnostic method to dump all INodes to the console.
|
String |
getVersion() |
void |
initialize(URI uri,
Configuration conf) |
boolean |
inodeExists(Path path) |
Set<Path> |
listDeepSubPaths(Path path) |
Set<Path> |
listSubPaths(Path path) |
void |
purge()
Delete everything.
|
File |
retrieveBlock(Block block,
long byteRangeStart) |
INode |
retrieveINode(Path path) |
void |
storeBlock(Block block,
File file) |
void |
storeINode(Path path,
INode inode) |
void initialize(URI uri, Configuration conf) throws IOException
IOException
String getVersion() throws IOException
IOException
void storeINode(Path path, INode inode) throws IOException
IOException
void storeBlock(Block block, File file) throws IOException
IOException
boolean inodeExists(Path path) throws IOException
IOException
boolean blockExists(long blockId) throws IOException
IOException
INode retrieveINode(Path path) throws IOException
IOException
File retrieveBlock(Block block, long byteRangeStart) throws IOException
IOException
void deleteINode(Path path) throws IOException
IOException
void deleteBlock(Block block) throws IOException
IOException
Set<Path> listSubPaths(Path path) throws IOException
IOException
Set<Path> listDeepSubPaths(Path path) throws IOException
IOException
void purge() throws IOException
IOException
void dump() throws IOException
IOException
Copyright © 2009 The Apache Software Foundation