mBlockStore.removeBlock(blockId); JournalEntry entry = JournalEntry.newBuilder() .setDeleteBlock(DeleteBlockEntry.newBuilder().setBlockId(blockId)).build(); journalContext.append(entry);
if (mBlocks.remove(blockId) != null) { JournalEntry entry = JournalEntry.newBuilder() .setDeleteBlock(DeleteBlockEntry.newBuilder().setBlockId(blockId)).build(); journalContext.append(entry);
public Builder mergeFrom(alluxio.proto.journal.Block.DeleteBlockEntry other) { if (other == alluxio.proto.journal.Block.DeleteBlockEntry.getDefaultInstance()) return this; if (other.hasBlockId()) { setBlockId(other.getBlockId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(alluxio.proto.journal.Block.DeleteBlockEntry other) { if (other == alluxio.proto.journal.Block.DeleteBlockEntry.getDefaultInstance()) return this; if (other.hasBlockId()) { setBlockId(other.getBlockId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }