| java.lang.Object org.apache.derby.impl.store.access.RAMAccessManager org.apache.derby.impl.store.access.RllRAMAccessManager
RllRAMAccessManager | public class RllRAMAccessManager extends RAMAccessManager (Code) | | Implements the row level locking accessmanager.
|
Method Summary | |
protected void | bootLookupSystemLockLevel(TransactionController tc) Query property system to get the System lock level.
This routine will be called during boot after access has booted far
enough, to allow access to the property conglomerate. | protected int | getSystemLockLevel() Return the locking level of the system.
This routine controls the lowest level of locking enabled for all locks
for all tables accessed through this accessmanager. |
RllRAMAccessManager | public RllRAMAccessManager()(Code) | | Constructors for This class:
|
bootLookupSystemLockLevel | protected void bootLookupSystemLockLevel(TransactionController tc) throws StandardException(Code) | | Query property system to get the System lock level.
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().
exception: StandardException - Standard exception policy. |
getSystemLockLevel | protected int getSystemLockLevel()(Code) | | Return the locking level of the system.
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.)
TransactionController.MODE_TABLE if only table locking allowed,else returns TransactionController.MODE_RECORD. |
Methods inherited from org.apache.derby.impl.store.access.RAMAccessManager | public Serviceable apply(String key, Serializable value, Dictionary p) throws StandardException(Code)(Java Doc) public void backup(String backupDir, boolean wait) throws StandardException(Code)(Java Doc) public void backupAndEnableLogArchiveMode(String backupDir, boolean deleteOnlineArchivedLogFiles, boolean wait) throws StandardException(Code)(Java Doc) public void boot(boolean create, Properties startParams) throws StandardException(Code)(Java Doc) abstract protected void bootLookupSystemLockLevel(TransactionController tc) throws StandardException(Code)(Java Doc) public void checkpoint() throws StandardException(Code)(Java Doc) void conglomCacheAddEntry(long conglomid, Conglomerate conglom) throws StandardException(Code)(Java Doc) Conglomerate conglomCacheFind(TransactionManager xact_mgr, long conglomid) throws StandardException(Code)(Java Doc) protected void conglomCacheInvalidate() throws StandardException(Code)(Java Doc) void conglomCacheRemoveEntry(long conglomid) throws StandardException(Code)(Java Doc) void conglomCacheUpdateEntry(long conglomid, Conglomerate new_conglom) throws StandardException(Code)(Java Doc) public void createFinished() throws StandardException(Code)(Java Doc) public void disableLogArchiveMode(boolean deleteOnlineArchivedLogFiles) throws StandardException(Code)(Java Doc) public MethodFactory findMethodFactoryByFormat(UUID format)(Code)(Java Doc) public MethodFactory findMethodFactoryByImpl(String impltype) throws StandardException(Code)(Java Doc) public void freeze() throws StandardException(Code)(Java Doc) public TransactionController getAndNameTransaction(ContextManager cm, String transName) throws StandardException(Code)(Java Doc) protected LockingPolicy getDefaultLockingPolicy()(Code)(Java Doc) public LockFactory getLockFactory()(Code)(Java Doc) protected long getNextConglomId(int factory_type) throws StandardException(Code)(Java Doc) RawStoreFactory getRawStore()(Code)(Java Doc) abstract protected int getSystemLockLevel()(Code)(Java Doc) public TransactionController getTransaction(ContextManager cm) throws StandardException(Code)(Java Doc) public TransactionInfo[] getTransactionInfo()(Code)(Java Doc) PropertyConglomerate getTransactionalProperties()(Code)(Java Doc) public Object getXAResourceManager() throws StandardException(Code)(Java Doc) public void init(boolean dbOnly, Dictionary p)(Code)(Java Doc) public boolean isReadOnly()(Code)(Java Doc) public Serializable map(String key, Serializable value, Dictionary p) throws StandardException(Code)(Java Doc) public Cacheable newCacheable(CacheManager cm)(Code)(Java Doc) public void registerAccessMethod(MethodFactory factory)(Code)(Java Doc) public Object startXATransaction(ContextManager cm, int format_id, byte[] global_id, byte[] branch_id) throws StandardException(Code)(Java Doc) public void stop()(Code)(Java Doc) public void unfreeze() throws StandardException(Code)(Java Doc) public boolean validate(String key, Serializable value, Dictionary p) throws StandardException(Code)(Java Doc) public void waitForPostCommitToFinishWork()(Code)(Java Doc)
|
|
|