|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.store.access.RAMAccessManager
org.apache.derby.impl.store.access.RllRAMAccessManager
public class RllRAMAccessManager
Implements the row level locking accessmanager.
Field Summary | |
---|---|
private int |
system_lock_level
|
Fields inherited from class org.apache.derby.impl.store.access.RAMAccessManager |
---|
conglom_map, record_level_policy, system_default_locking_policy, table_level_policy |
Fields inherited from interface org.apache.derby.iapi.store.access.AccessFactory |
---|
MODULE |
Constructor Summary | |
---|---|
RllRAMAccessManager()
Constructors for This class: |
Method Summary | |
---|---|
protected void |
bootLookupSystemLockLevel(TransactionController tc)
Query property system to get the System lock level. |
protected int |
getSystemLockLevel()
Return the locking level of the system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int system_lock_level
Constructor Detail |
---|
public RllRAMAccessManager()
Method Detail |
---|
protected int getSystemLockLevel()
This routine controls the lowest level of locking enabled for all locks for all tables accessed through this accessmanager. The concrete implementation may set this value always to table level locking for a client configuration, or it may set it to row level locking for a server configuration.
If TransactionController.MODE_RECORD is returned table may either be locked at table or row locking depending on the type of access expected (ie. level 3 will require table locking for heap scans.)
getSystemLockLevel
in class RAMAccessManager
protected void bootLookupSystemLockLevel(TransactionController tc) throws StandardException
This routine will be called during boot after access has booted far enough, to allow access to the property conglomerate. This routine will call the property system and set the value to be returned by getSystemLockLevel().
bootLookupSystemLockLevel
in class RAMAccessManager
StandardException
- Standard exception policy.
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |