- getCachedBlocks
- <init>
- addCacheDirective
- addCachePool
Create a cache pool. Only the superuser should be able to call this function.
- addDirective
- addDirectiveFromEditLog
Adds a directive, skipping most error checking. This should only be called
internally in special sce
- addInternal
- checkLimit
Throws an exception if the CachePool does not have enough capacity to cache the
given path at the re
- checkWritePermission
- clear
Resets all tracked directives and pools. Called during 2NN checkpointing to
reset FSNamesystem state
- clearDirectiveStats
- computeNeeded
Computes the needed number of bytes and files for a path.