org.apache.derby.iapi.store.raw.LockingPolicy
| Modifier and Type | Field and Description |
|---|---|
| protected final LockFactory |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public int | getMode()
Overrides org. Implements org. Get the mode of this policy |
| public boolean | lockContainer(Transaction
Transaction to associate lock with. t, ContainerHandle Container to lock. container, boolean Should lock request wait until granted? waitForLock, boolean Should container be locked for update, or read? forUpdate)Overrides org. Implements org. Obtain a Container shared or exclusive lock until the end of the nested transaction. |
| lf | back to summary |
|---|---|
| protected final LockFactory lf | |
| ContainerLocking3 | back to summary |
|---|---|
| protected ContainerLocking3(LockFactory lf) | |
| getMode | back to summary |
|---|---|
| public int getMode() Overrides org. Implements org. Doc from org. Get the mode of this policy | |
| lockContainer | back to summary |
|---|---|
| public boolean lockContainer(Transaction t, ContainerHandle container, boolean waitForLock, boolean forUpdate) throws StandardException Overrides org. Implements org. Obtain a Container shared or exclusive lock until the end of the nested transaction.
| |