|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.myJava.file.driver.cache.FileDataCache
public class FileDataCache
Constructor Summary | |
---|---|
FileDataCache(java.lang.String root,
int maxDepth)
|
Method Summary | |
---|---|
void |
checkDepth(java.lang.String fullPath)
|
void |
clear()
|
int |
computeSize()
|
DataEntry |
lookup(java.lang.String fullPath)
|
DataEntry |
lookupParent(java.lang.String fullPath)
|
DataEntry |
put(java.lang.String fullPath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileDataCache(java.lang.String root, int maxDepth)
Method Detail |
---|
public int computeSize()
public void clear()
public DataEntry lookup(java.lang.String fullPath) throws NonExistingEntryException, MaxDepthReachedException
NonExistingEntryException
MaxDepthReachedException
public DataEntry lookupParent(java.lang.String fullPath) throws NonExistingEntryException
NonExistingEntryException
public DataEntry put(java.lang.String fullPath) throws MaxDepthReachedException
MaxDepthReachedException
public void checkDepth(java.lang.String fullPath) throws MaxDepthReachedException
MaxDepthReachedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |