protected class TrackerDistributedCacheManager.BaseDirManager
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
TrackerDistributedCacheManager.BaseDirManager() |
Modifier and Type | Method and Description |
---|---|
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