@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFileId()) { hash = (37 * hash) + FILE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFileId()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof alluxio.proto.journal.File.AsyncPersistRequestEntry)) { return super.equals(obj); } alluxio.proto.journal.File.AsyncPersistRequestEntry other = (alluxio.proto.journal.File.AsyncPersistRequestEntry) obj; boolean result = true; result = result && (hasFileId() == other.hasFileId()); if (hasFileId()) { result = result && (getFileId() == other.getFileId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
unmountFromEntry(entry.getDeleteMountPoint()); } else if (entry.hasAsyncPersistRequest()) { long fileId = (entry.getAsyncPersistRequest()).getFileId(); try (LockedInodePath inodePath = mInodeTree .lockFullInodePath(fileId, InodeTree.LockMode.WRITE)) {
public Builder mergeFrom(alluxio.proto.journal.File.AsyncPersistRequestEntry other) { if (other == alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance()) return this; if (other.hasFileId()) { setFileId(other.getFileId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
private void apply(AsyncPersistRequestEntry entry) { apply(UpdateInodeEntry.newBuilder() .setId(entry.getFileId()) .setPersistenceState(PersistenceState.TO_BE_PERSISTED.name()) .build()); }
public Builder mergeFrom(alluxio.proto.journal.File.AsyncPersistRequestEntry other) { if (other == alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance()) return this; if (other.hasFileId()) { setFileId(other.getFileId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }