/** * Returns whether the given version was written by the current transaction. * * @param version the data version * @return true if version was written by current transaction, false otherwise. */ public boolean isCurrentWrite(long version) { return writePointer == version || txId == version || isCheckpoint(version); }
/** * Returns whether the given version was written by the current transaction. * * @param version the data version * @return true if version was written by current transaction, false otherwise. */ public boolean isCurrentWrite(long version) { return writePointer == version || txId == version || isCheckpoint(version); }