protected class TrackerDistributedCacheManager.BaseDirManager extends Object
限定符 | 构造器和说明 |
---|---|
protected |
TrackerDistributedCacheManager.BaseDirManager() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
protected TrackerDistributedCacheManager.BaseDirManager()
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 addedCopyright © 2009 The Apache Software Foundation