BTreeLockingPolicy
B2IRowLocking1
class B2IRowLocking2 extends B2IRowLockingRR implements BTreeLockingPolicy
base_cc, open_btree
Constructor | Description |
---|---|
B2IRowLocking2(Transaction rawtran,
int lock_level,
LockingPolicy locking_policy,
ConglomerateController base_cc,
OpenBTree open_btree) |
Constructors for This class:
|
Modifier and Type | Method | Description |
---|---|---|
void |
unlockScanRecordAfterRead(BTreeRowPosition pos,
boolean forUpdate) |
Release read lock on a row.
|
_lockScanRow, lockNonScanPreviousRow, lockNonScanRow, lockNonScanRowOnPage, lockScanCommittedDeletedRow
lockScanRow
lockNonScanPreviousRow, lockNonScanRow, lockNonScanRowOnPage, lockScanCommittedDeletedRow, lockScanRow
B2IRowLocking2(Transaction rawtran, int lock_level, LockingPolicy locking_policy, ConglomerateController base_cc, OpenBTree open_btree)
public void unlockScanRecordAfterRead(BTreeRowPosition pos, boolean forUpdate) throws StandardException
unlockScanRecordAfterRead
in interface BTreeLockingPolicy
unlockScanRecordAfterRead
in class B2IRowLockingRR
forUpdate
- Is the scan for update or for read only.pos
- Data structure that defines the current position
in the scan to be unlocked.StandardException
- Standard exception policy.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.