org.apache.derby.impl.store.raw.xact
Class ConcurrentXactFactory

java.lang.Object
  extended by org.apache.derby.impl.store.raw.xact.XactFactory
      extended by org.apache.derby.impl.store.raw.xact.ConcurrentXactFactory
All Implemented Interfaces:
ModuleControl, ModuleSupportable, Corruptable, TransactionFactory

public class ConcurrentXactFactory
extends XactFactory

A TransactionFactory similar to XactFactory, only that it provides overrides that give access to classes in the java.util.concurrent package, if supported by the runtime environment. This class is used instead of XactFactory on Java 1.5 and higher.


Field Summary
 
Fields inherited from class org.apache.derby.impl.store.raw.xact.XactFactory
contextFactory, dataFactory, dataValueFactory, INTERNAL_CONTEXT_ID, lockFactory, logFactory, NESTED_READONLY_USER_CONTEXT_ID, NESTED_UPDATE_USER_CONTEXT_ID, NTT_CONTEXT_ID, rawStoreDaemon, rawStoreFactory, ttab, USER_CONTEXT_ID
 
Fields inherited from interface org.apache.derby.iapi.store.raw.xact.TransactionFactory
MODULE
 
Constructor Summary
ConcurrentXactFactory()
           
 
Method Summary
(package private)  TransactionMapFactory createMapFactory()
          Create a TransactionMapFactory instance.
 
Methods inherited from class org.apache.derby.impl.store.raw.xact.XactFactory
add, addUpdateTransaction, blockBackup, blockBackupBlockingOperations, boot, canSupport, createFinished, findTransaction, findUserTransaction, firstUpdateInstant, flushLogOnCommit, getLockFactory, getLockingPolicy, getMapFactory, getTransactionInfo, getTransactionTable, getXAResourceManager, handlePreparedXacts, hasPreparedXact, inDatabaseCreation, makeNewUUID, markCorrupt, noActiveUpdateTransaction, prepareTransaction, pushTransactionContext, remove, removeUpdateTransaction, resetTranId, rollbackAllTransactions, setNewTransactionId, setRawStoreFactory, startGlobalTransaction, startInternalTransaction, startNestedReadOnlyUserTransaction, startNestedTopTransaction, startNestedUpdateUserTransaction, startTransaction, stop, submitPostCommitWork, unblockBackup, unblockBackupBlockingOperations, useTransactionTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentXactFactory

public ConcurrentXactFactory()
Method Detail

createMapFactory

TransactionMapFactory createMapFactory()
Description copied from class: XactFactory
Create a TransactionMapFactory instance. This method can be overridden by sub-classes in order to provide a factory that produces maps that give higher concurrency, if supported by the platform.

Overrides:
createMapFactory in class XactFactory
Returns:
a TransactionMapFactory suitable for this platform

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.