|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.filecache.TrackerDistributedCacheManager.BaseDirManager
protected class TrackerDistributedCacheManager.BaseDirManager
This class holds properties of each base directories and is responsible for clean up unused cache files in base directories.
Constructor Summary | |
---|---|
protected |
TrackerDistributedCacheManager.BaseDirManager()
|
Method Summary | |
---|---|
void |
addCacheInfoUpdate(org.apache.hadoop.filecache.TrackerDistributedCacheManager.CacheStatus cacheStatus)
Update the maps baseDirSize and baseDirNumberSubDir when adding cache. |
void |
deleteCacheInfoUpdate(org.apache.hadoop.filecache.TrackerDistributedCacheManager.CacheStatus cacheStatus)
Decrement the size and sub directory count of the cache from baseDirSize and baseDirNumberSubDir. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TrackerDistributedCacheManager.BaseDirManager()
Method Detail |
---|
public void deleteCacheInfoUpdate(org.apache.hadoop.filecache.TrackerDistributedCacheManager.CacheStatus cacheStatus)
cacheStatus
- cache status of the cache is deletedpublic void addCacheInfoUpdate(org.apache.hadoop.filecache.TrackerDistributedCacheManager.CacheStatus cacheStatus)
cacheStatus
- cache status of the cache is added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |