|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileSystemStore
A facility for storing and retrieving INode
s and Block
s.
Method Summary | |
---|---|
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)
|
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |