| java.lang.Object org.apache.derby.impl.store.access.btree.index.B2IRowLocking3 org.apache.derby.impl.store.access.btree.index.B2IRowLockingRR org.apache.derby.impl.store.access.btree.index.B2IRowLocking2
All known Subclasses: org.apache.derby.impl.store.access.btree.index.B2IRowLocking1,
B2IRowLocking2 | class B2IRowLocking2 extends B2IRowLockingRR implements BTreeLockingPolicy(Code) | | The btree locking policy which implements read committed isolation level.
It inherits all functionality from B2IRowLockingRR (repeatable read) except
that it releases read locks after obtaining them. It provides a single
implementation of unlockScanRecordAfterRead() which releases a read lock
after it has been locked and processed.
|
unlockScanRecordAfterRead | public void unlockScanRecordAfterRead(BTreeRowPosition pos, boolean forUpdate) throws StandardException(Code) | | Release read lock on a row.
Parameters: forUpdate - Is the scan for update or for read only. |
Methods inherited from org.apache.derby.impl.store.access.btree.index.B2IRowLockingRR | public boolean lockScanRow(OpenBTree open_btree, BTree btree, BTreeRowPosition pos, boolean request_scan_lock, FetchDescriptor lock_fetch_desc, DataValueDescriptor[] lock_template, RowLocation lock_row_loc, boolean previous_key_lock, boolean forUpdate, int lock_operation) throws StandardException(Code)(Java Doc) public void unlockScanRecordAfterRead(BTreeRowPosition pos, boolean forUpdate) throws StandardException(Code)(Java Doc)
|
Methods inherited from org.apache.derby.impl.store.access.btree.index.B2IRowLocking3 | protected boolean _lockScanRow(OpenBTree open_btree, BTree btree, BTreeRowPosition pos, boolean request_row_lock, boolean request_scan_lock, FetchDescriptor lock_fetch_desc, DataValueDescriptor[] lock_template, RowLocation lock_row_loc, boolean previous_key_lock, boolean forUpdate, int lock_operation) throws StandardException(Code)(Java Doc) public boolean lockNonScanPreviousRow(BTree btree, LeafControlRow current_leaf, int current_slot, FetchDescriptor lock_fetch_desc, DataValueDescriptor[] lock_template, RowLocation lock_row_loc, OpenBTree open_btree, int lock_operation, int lock_duration) throws StandardException(Code)(Java Doc) public boolean lockNonScanRow(BTree btree, LeafControlRow current_leaf, LeafControlRow aux_leaf, DataValueDescriptor[] current_row, int lock_operation) throws StandardException(Code)(Java Doc) public boolean lockNonScanRowOnPage(BTree btree, LeafControlRow current_leaf, int current_slot, FetchDescriptor lock_fetch_desc, DataValueDescriptor[] lock_template, RowLocation lock_row_loc, int lock_operation) throws StandardException(Code)(Java Doc) public boolean lockScan(LeafControlRow current_leaf, ControlRow aux_control_row, boolean forUpdate, int lock_operation) throws StandardException(Code)(Java Doc) public boolean lockScanCommittedDeletedRow(OpenBTree open_btree, LeafControlRow leaf, DataValueDescriptor[] template, FetchDescriptor lock_fetch_desc, int slot_no) throws StandardException(Code)(Java Doc) public boolean lockScanForReclaimSpace(LeafControlRow current_leaf) throws StandardException(Code)(Java Doc) public boolean lockScanRow(OpenBTree open_btree, BTree btree, BTreeRowPosition pos, boolean request_scan_lock, FetchDescriptor lock_fetch_desc, DataValueDescriptor[] lock_template, RowLocation lock_row_loc, boolean previous_key_lock, boolean forUpdate, int lock_operation) throws StandardException(Code)(Java Doc) public void unlockScan(long page_number)(Code)(Java Doc) public void unlockScanRecordAfterRead(BTreeRowPosition pos, boolean forUpdate) throws StandardException(Code)(Java Doc)
|
|
|