hash = (53 * hash) + getUfsPath().hashCode();
result = result && getUfsPath() .equals(other.getUfsPath());
private void apply(AddMountPointEntry entry) { MountInfo mountInfo = new MountInfo(new AlluxioURI(entry.getAlluxioPath()), new AlluxioURI(entry.getUfsPath()), entry.getMountId(), GrpcUtils.fromMountEntry(entry)); mMountTable.put(entry.getAlluxioPath(), mountInfo); }
/** * @param entry the entry to use * @throws FileAlreadyExistsException if the mount point already exists * @throws InvalidPathException if an invalid path is encountered */ private void mountFromEntry(AddMountPointEntry entry) throws FileAlreadyExistsException, InvalidPathException, IOException { AlluxioURI alluxioURI = new AlluxioURI(entry.getAlluxioPath()); AlluxioURI ufsURI = new AlluxioURI(entry.getUfsPath()); try (LockedInodePath inodePath = mInodeTree .lockInodePath(alluxioURI, InodeTree.LockMode.WRITE)) { mountInternal(inodePath, ufsURI, entry.getMountId(), true /* replayed */, new MountOptions(entry)); } }
/** * <code>optional string ufs_path = 2;</code> */ public Builder clearUfsPath() { bitField0_ = (bitField0_ & ~0x00000002); ufsPath_ = getDefaultInstance().getUfsPath(); onChanged(); return this; } /**
/** * <code>optional string ufs_path = 2;</code> */ public Builder clearUfsPath() { bitField0_ = (bitField0_ & ~0x00000002); ufsPath_ = getDefaultInstance().getUfsPath(); onChanged(); return this; } /**