StorageDir(long storageDirId, String dirPath, long capacityBytes, String dataFolder,
String userTempFolder, Object conf) {
mDirPath = new TachyonURI(dirPath);
mConf = conf;
mFs = UnderFileSystem.get(dirPath, conf);
mSpaceCounter = new SpaceCounter(capacityBytes);
mStorageDirId = storageDirId;
mDataPath = mDirPath.join(dataFolder);
mUserTempPath = mDirPath.join(userTempFolder);
}