A C D E F G H I K L M N O P R S T U V W 

A

ACCESS_TIMEOUT - Static variable in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
acquire(Object, int, boolean, boolean, long) - Method in class org.apache.commons.transaction.locking.GenericLock
 
acquire(Object, int, boolean, int, long) - Method in class org.apache.commons.transaction.locking.GenericLock
 
acquire(Object, int, boolean, long) - Method in class org.apache.commons.transaction.locking.GenericLock
Tries to blockingly acquire a lock which can be preferred.
acquire(Object, int, boolean, int, boolean, long) - Method in class org.apache.commons.transaction.locking.GenericLock
 
acquire(Object, int, boolean, boolean, long) - Method in interface org.apache.commons.transaction.locking.MultiLevelLock
Tries to acquire a certain lock level on this lock.
acquire(Object, int, boolean, int, boolean, long) - Method in interface org.apache.commons.transaction.locking.MultiLevelLock2
Tries to acquire a certain lock level on this lock.
acquire(Object, int, boolean, int, boolean, long) - Method in class org.apache.commons.transaction.locking.ReadWriteUpgradeLock
 
acquireRead(Object, long) - Method in class org.apache.commons.transaction.locking.ReadWriteLock
Tries to acquire a blocking, reentrant read lock.
acquireRead(Object, long) - Method in class org.apache.commons.transaction.locking.ReadWriteUpgradeLock
Tries to acquire a blocking, reentrant read lock.
acquireUpgrade(Object, long) - Method in class org.apache.commons.transaction.locking.ReadWriteUpgradeLock
Tries to acquire a reentrant upgrade lock on a resource.
acquireWrite(Object, long) - Method in class org.apache.commons.transaction.locking.ReadWriteLock
Tries to acquire a blocking, reentrant write lock.
acquireWrite(Object, long) - Method in class org.apache.commons.transaction.locking.ReadWriteUpgradeLock
Tries to acquire a blocking, reentrant write lock.
activeTransactions - Variable in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
addOwner(Object, GenericLock) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
adds - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
applyDeletes(File, File, File) - Static method in class org.apache.commons.transaction.file.FileResourceManager
 
assureGlobalReadLock() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
assureLeadingSlash(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
assureNotMarkedForRollback(FileResourceManager.TransactionContext) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
assureRMReady() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
assureStarted() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
assureWriteLock(Object) - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
atomicGetOrCreateLock(Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
atomicGetOrCreateLock(Object) - Method in interface org.apache.commons.transaction.locking.LockManager
Either gets an existing lock on the specified resource or creates one if none exists.

C

call() - Method in class org.apache.commons.transaction.util.RendezvousBarrier
Notify the barrier that you (the current thread) will not come to the meeting point.
changedKeys() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
changes - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
checkForConflicts() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
checkForVirtualAdminCommand(Object) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
checkLock(Object, Object, int, boolean) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
checkLock(Object, Object, int, boolean) - Method in interface org.apache.commons.transaction.locking.LockManager2
Determines if a lock could be acquire without actually acquiring it.
checkReadLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteLockManager
Determines if a shared, reentrant read lock on a resource could be acquired without actually acquiring it.
checkThreshhold - Variable in class org.apache.commons.transaction.locking.GenericLockManager
 
checkWriteLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteLockManager
Determines if an exclusive, reentrant write lock on a resource could be acquired without actually acquiring it.
cleanUp - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
cleanUp() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
clear() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
clear() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper.LockingTxContext
 
clear() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
clear() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
cleared - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
closeOpenResource(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
closeResources() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
code - Variable in exception org.apache.commons.transaction.locking.LockException
 
code - Variable in exception org.apache.commons.transaction.memory.LockException
Deprecated.
 
CODE_DEADLOCK_VICTIM - Static variable in exception org.apache.commons.transaction.locking.LockException
Locking request canceled because of deadlock.
CODE_DEADLOCK_VICTIM - Static variable in exception org.apache.commons.transaction.memory.LockException
Deprecated.
 
CODE_INTERRUPTED - Static variable in exception org.apache.commons.transaction.locking.LockException
Thread has been interrupted while waiting for lock.
CODE_INTERRUPTED - Static variable in exception org.apache.commons.transaction.memory.LockException
Deprecated.
 
CODE_TIMED_OUT - Static variable in exception org.apache.commons.transaction.locking.LockException
Maximum wait time for a lock has been exceeded.
CODE_TIMED_OUT - Static variable in exception org.apache.commons.transaction.memory.LockException
Deprecated.
 
commit() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
COMMIT_TIMEOUT - Static variable in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
commitLock - Variable in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
commitTime - Variable in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
commitTransaction(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
commitTransaction(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Commis the transaction specified by the given transaction identifier.
commitTransaction() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
commitTransaction(boolean) - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
commitTransaction() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Commits all changes made in the current transaction and deletes the association between the current thread and the transaction.
CommonsLoggingLogger - Class in org.apache.commons.transaction.util
 
CommonsLoggingLogger(Log) - Constructor for class org.apache.commons.transaction.util.CommonsLoggingLogger
 
compatibility - Variable in class org.apache.commons.transaction.locking.GenericLock.LockOwner
 
COMPATIBILITY_NONE - Static variable in interface org.apache.commons.transaction.locking.MultiLevelLock2
Compatibility mode: none reentrant.
COMPATIBILITY_REENTRANT - Static variable in interface org.apache.commons.transaction.locking.MultiLevelLock2
Compatibility mode: reentrant.
COMPATIBILITY_REENTRANT_AND_SUPPORT - Static variable in interface org.apache.commons.transaction.locking.MultiLevelLock2
Compatibility mode: reentrant and supporting.
COMPATIBILITY_SUPPORT - Static variable in interface org.apache.commons.transaction.locking.MultiLevelLock2
Compatibility mode: supporting.
composeMessage(String, int, Object, Throwable) - Static method in exception org.apache.commons.transaction.file.ResourceManagerException
 
composeMessage(String, int, Object) - Static method in exception org.apache.commons.transaction.file.ResourceManagerException
 
ConflictException - Exception in org.apache.commons.transaction.memory
Exception displaying a conflict between two optimistic transactions.
ConflictException(Object) - Constructor for exception org.apache.commons.transaction.memory.ConflictException
 
containsKey(Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
containsValue(Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
CONTEXT_FILE - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
copy(File, File) - Static method in class org.apache.commons.transaction.util.FileHelper
Copies one file to another using FileHelper.copy(InputStream, OutputStream).
copy(File, File, byte[]) - Static method in class org.apache.commons.transaction.util.FileHelper
Copies one file to another using the supplied buffer.
copy(InputStream, File) - Static method in class org.apache.commons.transaction.util.FileHelper
Copies an InputStream to a file using FileHelper.copy(InputStream, OutputStream).
copy(InputStream, OutputStream) - Static method in class org.apache.commons.transaction.util.FileHelper
Copies an InputStream to an OutputStream using a local internal buffer for performance.
copy(InputStream, OutputStream, byte[]) - Static method in class org.apache.commons.transaction.util.FileHelper
Copies an InputStream to an OutputStream using the specified buffer.
copyChangesToConcurrentTransactions() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
copyRec(File, File) - Static method in class org.apache.commons.transaction.util.FileHelper
Copies one directory or file to another.
copyResource(Object, Object, Object, boolean) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
copyResource(Object, Object, Object, boolean) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
count - Variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
create(String, long) - Method in class org.apache.commons.transaction.file.FileSequence
Creates a sequence if it does not already exist.
createFile(String) - Static method in class org.apache.commons.transaction.util.FileHelper
Creates a file specified by a path.
createLock(Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
createLock(Object) - Method in class org.apache.commons.transaction.locking.ReadWriteLockManager
 
createLock(Object) - Method in class org.apache.commons.transaction.locking.ReadWriteUpgradeLockManager
 
createLogger(String) - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
createLogger(String) - Method in class org.apache.commons.transaction.util.Log4jLogger
 
createLogger(String) - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
createLogger(String) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
createMap() - Method in class org.apache.commons.transaction.memory.HashMapFactory
 
createMap() - Method in interface org.apache.commons.transaction.memory.MapFactory
 
createResource(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
createResource(Object, Object, boolean) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
createResource(Object, Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Creates a resource.
createResource(Object, Object, boolean) - Method in interface org.apache.commons.transaction.file.ResourceManager
Creates a resource.
createResource(Object, Object) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
createResource(Object, Object, boolean) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
createSet() - Method in class org.apache.commons.transaction.memory.HashSetFactory
 
createSet() - Method in interface org.apache.commons.transaction.memory.SetFactory
 
currentNumber - Variable in class org.apache.commons.transaction.util.TurnBarrier
 

D

debug - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
debug - Variable in class org.apache.commons.transaction.util.PrintWriterLogger
 
DEFAULT_CHECK_THRESHHOLD - Static variable in class org.apache.commons.transaction.locking.GenericLockManager
 
DEFAULT_COMMIT_TIMEOUT_FACTOR - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
DEFAULT_ISOLATION_LEVEL - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
DEFAULT_PARAMETER_ENCODING - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
DEFAULT_TIMEOUT - Static variable in class org.apache.commons.transaction.locking.GenericLockManager
 
DEFAULT_TIMEOUT - Static variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
DEFAULT_TIMEOUT - Static variable in class org.apache.commons.transaction.util.TurnBarrier
 
DEFAULT_TIMEOUT_MSECS - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
defaultTimeout - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
delete(String) - Method in class org.apache.commons.transaction.file.FileSequence
Deletes a sequence if it exists.
deleteFile(String) - Static method in class org.apache.commons.transaction.util.FileHelper
Deletes a file specified by a path.
deleteResource(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
deleteResource(Object, Object, boolean) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
deleteResource(Object, Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Deletes a resource.
deleteResource(Object, Object, boolean) - Method in interface org.apache.commons.transaction.file.ResourceManager
Deletes a resource.
deleteResource(Object, Object) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
deleteResource(Object, Object, boolean) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
deletes - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
dirty - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
dispose() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
dispose() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper.LockingTxContext
 
dispose() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
disposeMap(Map) - Method in class org.apache.commons.transaction.memory.HashMapFactory
 
disposeMap(Map) - Method in interface org.apache.commons.transaction.memory.MapFactory
 
disposeSet(Set) - Method in class org.apache.commons.transaction.memory.HashSetFactory
 
disposeSet(Set) - Method in interface org.apache.commons.transaction.memory.SetFactory
 
doLock(GenericLock, Object, Object, int, int, boolean, long) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 

E

effectiveGlobalTimeouts - Variable in class org.apache.commons.transaction.locking.GenericLockManager
Maps onwerId to global effective time outs (i.e.
entrySet() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
entrySet() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
equals(Object) - Method in class org.apache.commons.transaction.locking.GenericLock
 
equals(Object) - Method in class org.apache.commons.transaction.locking.GenericLock.LockOwner
 
equals(Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.HashEntry
 
ERR_DEAD_LOCK - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: lock could not be acquired error
ERR_DUP_TX - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: transaction identifier already exists error
ERR_ISOLATION_LEVEL_UNSUPPORTED - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: requested isolation level is not supported for this transaction error
ERR_LOCK - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: general lock error
ERR_MARKED_FOR_ROLLBACK - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: operation not possible as transaction is alredy marked for rollback error
ERR_NO_LOCK - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: lock could not be acquired error
ERR_NO_SUCH_RESOURCE - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: resource does not exist error
ERR_NO_TX - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: no transaction error
ERR_RESOURCE_EXISTS - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: resource already exists error
ERR_RESOURCEID_INVALID - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: resource identifier invalid error
ERR_SYSTEM - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: general system error
ERR_SYSTEM_INCONSISTENT - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: global inconsistent data system error
ERR_THREAD_INVALID - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: calling thread is not owner of transaction error (only in single thread implementations)
ERR_TX_INACTIVE - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: transaction inactive error
ERR_TX_INCONSISTENT - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: inconsistent transaction data system error
ERR_TXID_INVALID - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: transaction identifier invalid error
ERR_UNKNOWN - Static variable in interface org.apache.commons.transaction.file.ResourceManagerErrorCodes
Error code: unknown error
ERR_UNKNOWN_CODE - Static variable in exception org.apache.commons.transaction.file.ResourceManagerException
 
ERR_UNKNOWN_TEXT - Static variable in exception org.apache.commons.transaction.file.ResourceManagerException
 
executeAdminCommand(Object) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
exists(String) - Method in class org.apache.commons.transaction.file.FileSequence
Checks if the sequence already exists.
externalAdds - Variable in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
externalChangedKeys() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
externalChanges - Variable in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
externalDeletes - Variable in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 

F

fileExists(String) - Static method in class org.apache.commons.transaction.util.FileHelper
Checks if a file specified by a path exits.
FileHelper - Class in org.apache.commons.transaction.util
Helper methods for file manipulation.
FileHelper() - Constructor for class org.apache.commons.transaction.util.FileHelper
 
fileInitialSaneCheck(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
FileResourceManager - Class in org.apache.commons.transaction.file
A resource manager for streamable objects stored in a file system.
FileResourceManager(String, String, boolean, LoggerFacade) - Constructor for class org.apache.commons.transaction.file.FileResourceManager
Creates a new resource manager operation on the specified directories.
FileResourceManager(String, String, boolean, LoggerFacade, boolean) - Constructor for class org.apache.commons.transaction.file.FileResourceManager
Creates a new resource manager operation on the specified directories.
FileResourceManager(String, String, ResourceIdToPathMapper, LoggerFacade, boolean) - Constructor for class org.apache.commons.transaction.file.FileResourceManager
Creates a new resource manager operation on the specified directories.
FileResourceManager(String, String, ResourceIdToPathMapper, TransactionIdToPathMapper, LoggerFacade, boolean) - Constructor for class org.apache.commons.transaction.file.FileResourceManager
Creates a new resource manager operation on the specified directories.
FileResourceManager.TransactionContext - Class in org.apache.commons.transaction.file
Inner class to hold the complete context, i.e.
FileResourceManager.TransactionContext(Object) - Constructor for class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
FileSequence - Class in org.apache.commons.transaction.file
Fail-Safe sequence store implementation using the file system.
FileSequence(String, LoggerFacade) - Constructor for class org.apache.commons.transaction.file.FileSequence
Creates a new resouce manager operation on the specified directories.
finalCleanUp() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
finalize() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
finalize() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper.LockingTxContext
 
finished - Variable in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
freeLocks() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 

G

generatedUniqueTxId() - Method in class org.apache.commons.transaction.file.FileResourceManager
Generates a transaction identifier unique to this resource manager.
GenericLock - Class in org.apache.commons.transaction.locking
A generic implementain of a simple multi level lock.
GenericLock(Object, int, LoggerFacade) - Constructor for class org.apache.commons.transaction.locking.GenericLock
Creates a new lock.
GenericLock.LockOwner - Class in org.apache.commons.transaction.locking
 
GenericLock.LockOwner(Object, int, int, boolean) - Constructor for class org.apache.commons.transaction.locking.GenericLock.LockOwner
 
GenericLockManager - Class in org.apache.commons.transaction.locking
Manager for GenericLocks on resources.
GenericLockManager(int, LoggerFacade, long, long) - Constructor for class org.apache.commons.transaction.locking.GenericLockManager
Creates a new generic lock manager.
GenericLockManager(int, LoggerFacade, long) - Constructor for class org.apache.commons.transaction.locking.GenericLockManager
 
GenericLockManager(int, LoggerFacade) - Constructor for class org.apache.commons.transaction.locking.GenericLockManager
 
get(Object) - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
get(Object) - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper.LockingTxContext
 
get(Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
get(Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
getActiveTx() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
getAll(Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
getAll(Object) - Method in interface org.apache.commons.transaction.locking.LockManager2
Gets all locks (partially) held by an owner.
getChangePath(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getCode() - Method in exception org.apache.commons.transaction.locking.LockException
Returns the formal reason for the exception.
getConflictingOwners(Object, int, int) - Method in class org.apache.commons.transaction.locking.GenericLock
 
getConflictingOwners(GenericLock.LockOwner, Collection) - Method in class org.apache.commons.transaction.locking.GenericLock
 
getConflictingWaiters(Object) - Method in class org.apache.commons.transaction.locking.GenericLock
 
getContext(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getDefaultIsolationLevel() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getDefaultIsolationLevel() - Method in interface org.apache.commons.transaction.file.ResourceManager
Gets the default isolation level as an integer.
getDefaultTransactionTimeout() - Method in class org.apache.commons.transaction.file.FileResourceManager
Gets the default transaction timeout in milliseconds.
getDefaultTransactionTimeout() - Method in interface org.apache.commons.transaction.file.ResourceManager
Gets the default transaction timeout in milliseconds.
getDeletePath(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getIdForPath(String) - Method in class org.apache.commons.transaction.file.NoOpTransactionIdToPathMapper
 
getIdForPath(String) - Method in interface org.apache.commons.transaction.file.TransactionIdToPathMapper
Maps the path string to a transaction id object.
getIsolationLevel(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getIsolationLevel(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Gets the isolation level for the specified transaction.
getKey() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.HashEntry
 
getLevel(Object, Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
getLevel(Object, Object) - Method in interface org.apache.commons.transaction.locking.LockManager2
Gets the lock level held by certain owner on a certain resource.
getLevelMaxLock() - Method in class org.apache.commons.transaction.locking.GenericLock
Gets the highst lock level possible.
getLevelMinLock() - Method in class org.apache.commons.transaction.locking.GenericLock
Gets the lowest lock level possible.
getLock(Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
getLock(Object) - Method in interface org.apache.commons.transaction.locking.LockManager
Gets an existing lock on the specified resource.
getLock(Object) - Method in interface org.apache.commons.transaction.locking.LockManager2
Gets an existing lock on the specified resource.
getLockLevel(Object) - Method in class org.apache.commons.transaction.locking.GenericLock
 
getLockLevel(Object) - Method in interface org.apache.commons.transaction.locking.MultiLevelLock
Retuns the highest lock level the specified owner holds on this lock or 0 if it holds no locks at all.
getLocks() - Method in class org.apache.commons.transaction.locking.GenericLockManager
Gets all locks as orignials, no copies.
getLogger() - Method in class org.apache.commons.transaction.file.FileResourceManager
Gets the logger used by this resource manager.
getLogger() - Method in class org.apache.commons.transaction.util.Log4jLogger
 
getMainPath(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getMaxLevelOwner() - Method in class org.apache.commons.transaction.locking.GenericLock
 
getMaxLevelOwner(GenericLock.LockOwner, boolean) - Method in class org.apache.commons.transaction.locking.GenericLock
 
getMaxLevelOwner(int, boolean) - Method in class org.apache.commons.transaction.locking.GenericLock
 
getMaxLevelOwner(GenericLock.LockOwner, int, boolean) - Method in class org.apache.commons.transaction.locking.GenericLock
 
getNextGlobalConflictTimeout(Set) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
getOwner() - Method in class org.apache.commons.transaction.locking.GenericLock
 
getPathForId(Object) - Method in class org.apache.commons.transaction.file.NoOpTransactionIdToPathMapper
 
getPathForId(Object) - Method in interface org.apache.commons.transaction.file.ResourceIdToPathMapper
Maps the resource id object to a path string.
getPathForId(Object) - Method in interface org.apache.commons.transaction.file.TransactionIdToPathMapper
Maps the transaction id object to a path string.
getPathForId(Object) - Method in class org.apache.commons.transaction.file.URLEncodeIdMapper
 
getPathForRead(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getPathForWrite(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getPathI(String) - Method in class org.apache.commons.transaction.file.FileSequence
 
getPathII(String) - Method in class org.apache.commons.transaction.file.FileSequence
 
getReason() - Method in exception org.apache.commons.transaction.locking.LockException
Returns the verbose for the exception.
getRemainingTimeout() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
getResourceId() - Method in class org.apache.commons.transaction.locking.GenericLock
Gets the resource assotiated to this lock.
getResourceId() - Method in exception org.apache.commons.transaction.locking.LockException
Returns the resource the lock was tried on.
getSharedLockLevel(FileResourceManager.TransactionContext) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getStatus() - Method in exception org.apache.commons.transaction.file.ResourceManagerException
 
getStoreDir() - Method in class org.apache.commons.transaction.file.FileResourceManager
Gets the store directory.
getSupportedIsolationLevels() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getSupportedIsolationLevels() - Method in interface org.apache.commons.transaction.file.ResourceManager
Gets an array of all isolation levels supported by this resource manager.
getTransactionBaseDir(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getTransactionState(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getTransactionState(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Gets the state of the transaction specified by the given transaction identifier.
getTransactionState() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Returns the state of the current transaction.
getTransactionTimeout(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getTransactionTimeout(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Gets the transaction timeout of the specified transaction in milliseconds.
getValue() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.HashEntry
 
getVirtualAdminPath() - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
getWorkDir() - Method in class org.apache.commons.transaction.file.FileResourceManager
Gets the working directory.
GLOBAL_LOCK - Static variable in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
globalBufferCopy(InputStream, OutputStream) - Static method in class org.apache.commons.transaction.util.FileHelper
Copies an InputStream to an OutputStream using a global internal buffer for performance.
globalLocks - Variable in class org.apache.commons.transaction.locking.GenericLockManager
Maps resourceId to lock.
globalOpenResources - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
globalOwners - Variable in class org.apache.commons.transaction.locking.GenericLockManager
Maps onwerId to locks it (partially) owns.
globalTimeoutMSecs - Variable in class org.apache.commons.transaction.locking.GenericLockManager
 
globalTransactions - Variable in class org.apache.commons.transaction.file.FileResourceManager
 

H

has(Object, int) - Method in class org.apache.commons.transaction.locking.GenericLock
 
has(Object, int) - Method in interface org.apache.commons.transaction.locking.MultiLevelLock2
Tests if a certain lock level is owned by an owner.
hashCode() - Method in class org.apache.commons.transaction.locking.GenericLock
 
hashCode() - Method in class org.apache.commons.transaction.locking.GenericLock.LockOwner
 
hashCode() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.HashEntry
 
HashMapFactory - Class in org.apache.commons.transaction.memory
Default map factory implementation creating HashMaps.
HashMapFactory() - Constructor for class org.apache.commons.transaction.memory.HashMapFactory
 
HashSetFactory - Class in org.apache.commons.transaction.memory
Default set factory implementation creating HashSets.
HashSetFactory() - Constructor for class org.apache.commons.transaction.memory.HashSetFactory
 
hasLock(Object, Object, int) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
hasLock(Object, Object, int) - Method in interface org.apache.commons.transaction.locking.LockManager2
Determines if a lock is owner by an owner.
hasReadLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteLockManager
Determines if a shared, reentrant read lock on a resource is held by an owner.
hasWriteLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteLockManager
Determines if an exclusive, reentrant write lock on a resource is held by an owner.

I

idCnt - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
idMapper - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
init() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
intention - Variable in class org.apache.commons.transaction.locking.GenericLock.LockOwner
 
isAKnowCommand(String) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
isCompatible(int, int) - Method in class org.apache.commons.transaction.locking.GenericLock
 
isEmpty() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
isEmpty() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
isFineEnabled() - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
isFineEnabled() - Method in class org.apache.commons.transaction.util.Log4jLogger
 
isFineEnabled() - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
isFineEnabled() - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
isFinerEnabled() - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
isFinerEnabled() - Method in class org.apache.commons.transaction.util.Log4jLogger
 
isFinerEnabled() - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
isFinerEnabled() - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
isFinestEnabled() - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
isFinestEnabled() - Method in class org.apache.commons.transaction.util.Log4jLogger
 
isFinestEnabled() - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
isFinestEnabled() - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
isIsolationLevelSupported(int) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
isIsolationLevelSupported(int) - Method in interface org.apache.commons.transaction.file.ResourceManager
Tests if the specified isolation level is supported by this resource manager.
isLightWeight - Variable in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
ISOLATION_LEVEL_READ_COMMITTED - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Isolation level read committed: data written by other transactions can be read after they commit
ISOLATION_LEVEL_READ_UNCOMMITTED - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Isolation level read uncommitted: data written by other transactions can be read even before they commit
ISOLATION_LEVEL_REPEATABLE_READ - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Isolation level repeatable read: data written by other transactions can be read after they commit if this transaction has not read this data before
ISOLATION_LEVEL_SERIALIZABLE - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Isolation level serializable: result of other transactions will not influence the result of this transaction in any way
isolationLevel - Variable in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
isReadOnly() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Checks if any write operations have been performed inside this transaction.
isTransactionMarkedForRollback() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Checks whether this transaction has been marked to allow a rollback as the only valid outcome.
isVirtualAdminId(Object) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 

K

key - Variable in exception org.apache.commons.transaction.memory.ConflictException
 
key - Variable in exception org.apache.commons.transaction.memory.LockException
Deprecated.
 
key - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper.HashEntry
The key
keys() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
keys() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper.LockingTxContext
 
keys() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
keySet() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
keySet() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 

L

lock(Object, Object, int, boolean) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
lock(Object, Object, int, boolean, long) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
lock(Object, Object, int, int, boolean, long) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
lock(Object, Object, int, boolean) - Method in interface org.apache.commons.transaction.locking.LockManager2
Tries to acquire a lock on a resource.
lock(Object, Object, int, boolean, long) - Method in interface org.apache.commons.transaction.locking.LockManager2
Tries to acquire a lock on a resource.
lock(Object, Object, int, int, boolean, long) - Method in interface org.apache.commons.transaction.locking.LockManager2
Most flexible way to acquire a lock on a resource.
LOCK_ACCESS - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
LOCK_COMMIT - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
LOCK_EXCLUSIVE - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
LOCK_SHARED - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
LockException - Exception in org.apache.commons.transaction.locking
Exception displaying a lock problem.
LockException(String, int, Object) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException - Exception in org.apache.commons.transaction.memory
Deprecated.
no longer used as it has been replaced by the more general version in LockException
LockException(String, int, Object) - Constructor for exception org.apache.commons.transaction.memory.LockException
Deprecated.
 
lockLevel - Variable in class org.apache.commons.transaction.locking.GenericLock.LockOwner
 
lockManager - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
LockManager - Interface in org.apache.commons.transaction.locking
A manager for multi level locks on resources.
lockManager - Variable in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
LockManager2 - Interface in org.apache.commons.transaction.locking
Extended version of a lock manager that also has global knowledge or all locks and should be used as a delegate for all locking requests.
lockResource(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
lockResource(Object, Object, boolean) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
lockResource(Object, Object, boolean, boolean, long, boolean) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
lockResource(Object, Object, boolean, boolean, long, boolean) - Method in interface org.apache.commons.transaction.file.ResourceManager
Explicitly locks a resource.
lockResource(Object, Object, boolean) - Method in interface org.apache.commons.transaction.file.ResourceManager
Explicitly locks a resource in reentrant style.
lockResource(Object, Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Explicitly locks a resource exclusively, i.e.
log(String, String) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
Log4jLogger - Class in org.apache.commons.transaction.util
Default logger implementation.
Log4jLogger(Logger) - Constructor for class org.apache.commons.transaction.util.Log4jLogger
 
logFine(String) - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
logFine(String) - Method in class org.apache.commons.transaction.util.Log4jLogger
 
logFine(String) - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
logFine(String) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
logFiner(String) - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
logFiner(String) - Method in class org.apache.commons.transaction.util.Log4jLogger
 
logFiner(String) - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
logFiner(String) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
logFinest(String) - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
logFinest(String) - Method in class org.apache.commons.transaction.util.Log4jLogger
 
logFinest(String) - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
logFinest(String) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
logger - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
logger - Variable in class org.apache.commons.transaction.file.FileSequence
 
logger - Variable in class org.apache.commons.transaction.locking.GenericLock
 
logger - Variable in class org.apache.commons.transaction.locking.GenericLockManager
 
logger - Variable in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
logger - Variable in class org.apache.commons.transaction.util.Log4jLogger
 
logger - Variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
logger - Variable in class org.apache.commons.transaction.util.TurnBarrier
 
LoggerFacade - Interface in org.apache.commons.transaction.util
Facade for all kinds of logging engines.
logInfo(String) - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
logInfo(String) - Method in class org.apache.commons.transaction.util.Log4jLogger
 
logInfo(String) - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
logInfo(String) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
logSevere(String) - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
logSevere(String, Throwable) - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
logSevere(String) - Method in class org.apache.commons.transaction.util.Log4jLogger
 
logSevere(String, Throwable) - Method in class org.apache.commons.transaction.util.Log4jLogger
 
logSevere(String) - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
logSevere(String, Throwable) - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
logSevere(String) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
logSevere(String, Throwable) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
logWarning(String) - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
logWarning(String, Throwable) - Method in class org.apache.commons.transaction.util.CommonsLoggingLogger
 
logWarning(String) - Method in class org.apache.commons.transaction.util.Log4jLogger
 
logWarning(String, Throwable) - Method in class org.apache.commons.transaction.util.Log4jLogger
 
logWarning(String) - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
logWarning(String, Throwable) - Method in interface org.apache.commons.transaction.util.LoggerFacade
 
logWarning(String) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 
logWarning(String, Throwable) - Method in class org.apache.commons.transaction.util.PrintWriterLogger
 

M

MapFactory - Interface in org.apache.commons.transaction.memory
 
mapFactory - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Factory to be used to create temporary maps for transactions.
markTransactionForRollback(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
markTransactionForRollback(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Marks the transaction specified by the given transaction identifier for rollback.
markTransactionForRollback() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Marks the current transaction to allow only a rollback as valid outcome.
maxLockLevel - Variable in class org.apache.commons.transaction.locking.GenericLockManager
 
meet() - Method in class org.apache.commons.transaction.util.RendezvousBarrier
Meet at this barrier.
merge() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
merge() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
moveRec(File, File) - Static method in class org.apache.commons.transaction.util.FileHelper
Moves one directory or file to another.
moveResource(Object, Object, Object, boolean) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
moveResource(Object, Object, Object, boolean) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
MultiLevelLock - Interface in org.apache.commons.transaction.locking
A multi level lock.
MultiLevelLock2 - Interface in org.apache.commons.transaction.locking
Extended multi level lock.

N

name - Variable in class org.apache.commons.transaction.util.PrintWriterLogger
 
name - Variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
name - Variable in class org.apache.commons.transaction.util.TurnBarrier
 
NATIVE_ISOLATION_LEVEL - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
nextSequenceValueBottom(String, long) - Method in class org.apache.commons.transaction.file.FileSequence
Gets the next value of the sequence.
NO_LOCK - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
NO_LOCK - Static variable in class org.apache.commons.transaction.locking.ReadWriteLock
 
NO_LOCK - Static variable in class org.apache.commons.transaction.locking.ReadWriteUpgradeLock
 
NoOpTransactionIdToPathMapper - Class in org.apache.commons.transaction.file
Default implementation of TransactionIdToPathMapper, which expects transaction ids being strings and using them as path.
NoOpTransactionIdToPathMapper() - Constructor for class org.apache.commons.transaction.file.NoOpTransactionIdToPathMapper
 
notifyFinish() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 

O

OPERATION_MODE_RECOVERING - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
OPERATION_MODE_STARTED - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
OPERATION_MODE_STARTING - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
OPERATION_MODE_STOPPED - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
OPERATION_MODE_STOPPING - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
operationMode - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
OptimisticMapWrapper - Class in org.apache.commons.transaction.memory
Wrapper that adds transactional control to all kinds of maps that implement the Map interface.
OptimisticMapWrapper(Map) - Constructor for class org.apache.commons.transaction.memory.OptimisticMapWrapper
Creates a new optimistic transactional map wrapper.
OptimisticMapWrapper(Map, MapFactory, SetFactory) - Constructor for class org.apache.commons.transaction.memory.OptimisticMapWrapper
Creates a new optimistic transactional map wrapper.
OptimisticMapWrapper(Map, MapFactory, SetFactory, LoggerFacade) - Constructor for class org.apache.commons.transaction.memory.OptimisticMapWrapper
Creates a new optimistic transactional map wrapper.
OptimisticMapWrapper.CopyingTxContext - Class in org.apache.commons.transaction.memory
 
OptimisticMapWrapper.CopyingTxContext() - Constructor for class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
org.apache.commons.transaction.file - package org.apache.commons.transaction.file
 
org.apache.commons.transaction.locking - package org.apache.commons.transaction.locking
 
org.apache.commons.transaction.memory - package org.apache.commons.transaction.memory
 
org.apache.commons.transaction.util - package org.apache.commons.transaction.util
 
ownerId - Variable in class org.apache.commons.transaction.locking.GenericLock.LockOwner
 
owners - Variable in class org.apache.commons.transaction.locking.GenericLock
 

P

parties - Variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
PessimisticMapWrapper - Class in org.apache.commons.transaction.memory
Wrapper that adds transactional control to all kinds of maps that implement the Map interface.
PessimisticMapWrapper(Map, LoggerFacade) - Constructor for class org.apache.commons.transaction.memory.PessimisticMapWrapper
Creates a new pessimistic transactional map wrapper.
PessimisticMapWrapper(Map, MapFactory, SetFactory, LoggerFacade) - Constructor for class org.apache.commons.transaction.memory.PessimisticMapWrapper
Creates a new pessimistic transactional map wrapper.
PessimisticMapWrapper.LockingTxContext - Class in org.apache.commons.transaction.memory
 
PessimisticMapWrapper.LockingTxContext() - Constructor for class org.apache.commons.transaction.memory.PessimisticMapWrapper.LockingTxContext
 
PREPARE_FAILURE - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Prepare result: transaction can not commit
PREPARE_SUCCESS - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Prepare result: resource manager guarantees a successful commit
PREPARE_SUCCESS_READONLY - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Prepare result: resource manager guarantees a successful commit as there is nothing to commit
prepareTransaction(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
prepareTransaction(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Prepares the transaction specified by the given transaction identifier for commit.
printWriter - Variable in class org.apache.commons.transaction.util.PrintWriterLogger
 
PrintWriterLogger - Class in org.apache.commons.transaction.util
Logger implementation that logs into a pring writer like the one passed in JCA.
PrintWriterLogger(PrintWriter, String, boolean) - Constructor for class org.apache.commons.transaction.util.PrintWriterLogger
 
put(Object, Object) - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
put(Object, Object) - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper.LockingTxContext
 
put(Object, Object) - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
put(Object, Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
put(Object, Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
putAll(Map) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 

R

read(String) - Method in class org.apache.commons.transaction.file.FileSequence
 
READ - Static variable in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
READ_LOCK - Static variable in class org.apache.commons.transaction.locking.ReadWriteLock
 
READ_LOCK - Static variable in class org.apache.commons.transaction.locking.ReadWriteUpgradeLock
 
readFromPath(String) - Method in class org.apache.commons.transaction.file.FileSequence
 
readLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteLockManager
Tries to acquire a shared, reentrant read lock on a resource.
readOnly - Variable in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
readOnly - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
readResource(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
readResource(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
readResource(Object, Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Opens a streamable resource for reading.
readResource(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Opens a streamable resource for a single reading request not inside the scope of a transaction.
readResource(Object) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
readResource(Object, Object) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
readTimeOut - Variable in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
ReadWriteLock - Class in org.apache.commons.transaction.locking
Convenience implementation of a read/write lock based on GenericLock.
ReadWriteLock(Object, LoggerFacade) - Constructor for class org.apache.commons.transaction.locking.ReadWriteLock
Creates a new read/write lock.
ReadWriteLockManager - Class in org.apache.commons.transaction.locking
Manager for ReadWriteLocks on resources.
ReadWriteLockManager(LoggerFacade, long) - Constructor for class org.apache.commons.transaction.locking.ReadWriteLockManager
Creates a new read/write lock manager.
ReadWriteLockManager(int, LoggerFacade, long) - Constructor for class org.apache.commons.transaction.locking.ReadWriteLockManager
 
ReadWriteUpgradeLock - Class in org.apache.commons.transaction.locking
Convenience implementation of a read/write lock with an option for upgrade based on ReadWriteUpgradeLock.

Reads are shared which means there can be any number of concurrent read accesses allowed by this lock.
ReadWriteUpgradeLock(Object, LoggerFacade) - Constructor for class org.apache.commons.transaction.locking.ReadWriteUpgradeLock
Creates a new read/write/upgrade lock.
ReadWriteUpgradeLockManager - Class in org.apache.commons.transaction.locking
Manager for ReadWriteUpgradeLocks on resources.
ReadWriteUpgradeLockManager(LoggerFacade, long) - Constructor for class org.apache.commons.transaction.locking.ReadWriteUpgradeLockManager
Creates a new read/write/upgrade lock manager.
reason - Variable in exception org.apache.commons.transaction.locking.LockException
 
reason - Variable in exception org.apache.commons.transaction.memory.LockException
Deprecated.
 
recover() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
recover() - Method in interface org.apache.commons.transaction.file.ResourceManager
Tries to bring this resource manager back to a consistent state.
recoverContexts() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
recoverState() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
registerOpenResource(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
registerResource(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
registerWaiter(GenericLock.LockOwner) - Method in class org.apache.commons.transaction.locking.GenericLock
 
release(Object) - Method in class org.apache.commons.transaction.locking.GenericLock
 
release(Object, Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
release(Object, Object) - Method in interface org.apache.commons.transaction.locking.LockManager2
Releases all locks for a certain resource held by a certain owner.
release(Object) - Method in interface org.apache.commons.transaction.locking.MultiLevelLock
Releases any lock levels the specified owner may hold on this lock.
releaseAll(Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
releaseAll(Object) - Method in interface org.apache.commons.transaction.locking.LockManager2
Releases all locks (partially) held by an owner.
releaseAllNoTimeOutReset(Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
releaseGlobalOpenResources() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
releaseTimedOutOwners() - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
remove(Object) - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
remove(Object) - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper.LockingTxContext
 
remove(Object) - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
remove(Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
remove(Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
removeLock(MultiLevelLock) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
removeLock(MultiLevelLock) - Method in interface org.apache.commons.transaction.locking.LockManager
Removes the specified lock from the associated resource.
removeLock(MultiLevelLock) - Method in interface org.apache.commons.transaction.locking.LockManager2
Removes the specified lock from the associated resource.
removeOwner(Object, GenericLock) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
removeOwnerWithoutLocks(Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
removeRec(File) - Static method in class org.apache.commons.transaction.util.FileHelper
Removes a file.
RendezvousBarrier - Class in org.apache.commons.transaction.util
Simple barrier that blocks until all parties have either called or have arrived at the meeting point.
RendezvousBarrier(String, LoggerFacade) - Constructor for class org.apache.commons.transaction.util.RendezvousBarrier
 
RendezvousBarrier(String, long, LoggerFacade) - Constructor for class org.apache.commons.transaction.util.RendezvousBarrier
 
RendezvousBarrier(String, int, long, LoggerFacade) - Constructor for class org.apache.commons.transaction.util.RendezvousBarrier
 
reset() - Method in class org.apache.commons.transaction.file.FileResourceManager
Resets the store by deleting work and store directory.
reset() - Method in class org.apache.commons.transaction.util.RendezvousBarrier
Releases all waiting threads and resets the number of parties already arrived.
reset() - Method in class org.apache.commons.transaction.util.TurnBarrier
Starts the barrier over again.
resourceExists(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
resourceExists(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
resourceExists(Object, Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Checks if a resource exists.
resourceExists(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Checks if a resource exists wihtout being in a transaction.
resourceExists(Object) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
resourceExists(Object, Object) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
resourceId - Variable in class org.apache.commons.transaction.locking.GenericLock
 
resourceId - Variable in exception org.apache.commons.transaction.locking.LockException
 
ResourceIdToPathMapper - Interface in org.apache.commons.transaction.file
Mapper from a resourceId to a path string.
ResourceManager - Interface in org.apache.commons.transaction.file
Interface for resource managers.
ResourceManagerErrorCodes - Interface in org.apache.commons.transaction.file
Error codes for resource managers.
ResourceManagerException - Exception in org.apache.commons.transaction.file
Signals any kind of error or failure state in a ResourceManager.
ResourceManagerException(String, int, Object) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerException
 
ResourceManagerException(int, Object) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerException
 
ResourceManagerException(String) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerException
 
ResourceManagerException(String, int, Object, Throwable) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerException
 
ResourceManagerException(String, int, Throwable) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerException
 
ResourceManagerException(String, Throwable) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerException
 
ResourceManagerException(int, Object, Throwable) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerException
 
ResourceManagerSystemException - Exception in org.apache.commons.transaction.file
Signals an internal system error in a ResourceManager.
ResourceManagerSystemException(String, int, Object, Throwable) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerSystemException
 
ResourceManagerSystemException(String, int, Object) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerSystemException
 
ResourceManagerSystemException(int, Object, Throwable) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerSystemException
 
ResourceManagerSystemException(int, Object) - Constructor for exception org.apache.commons.transaction.file.ResourceManagerSystemException
 
resumeTransaction(TransactionalMapWrapper.TxContext) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Resumes a transaction in the current thread that has previously been suspened by TransactionalMapWrapper.suspendTransaction().
rollback() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
rollBackOrForward() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
rollbackTransaction(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
rollbackTransaction(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Rolls back the transaction specified by the given transaction identifier.
rollbackTransaction() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
rollbackTransaction() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Discards all changes made in the current transaction and deletes the association between the current thread and the transaction.

S

saveState() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
setActiveTx(TransactionalMapWrapper.TxContext) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
setDefaultTransactionTimeout(long) - Method in class org.apache.commons.transaction.file.FileResourceManager
Sets the default transaction timeout.
setDirty(Object, Throwable) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
SetFactory - Interface in org.apache.commons.transaction.memory
 
setFactory - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Factory to be used to create temporary sets for transactions.
setIsolationLevel(Object, int) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
setIsolationLevel(Object, int) - Method in interface org.apache.commons.transaction.file.ResourceManager
Sets the isolation level for the specified transaction.
setLockLevel(Object, GenericLock.LockOwner, int, int, boolean) - Method in class org.apache.commons.transaction.locking.GenericLock
 
setTransactionTimeout(Object, long) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
setTransactionTimeout(Object, long) - Method in interface org.apache.commons.transaction.file.ResourceManager
Sets the transaction timeout of the specified transaction in milliseconds.
setValue(Object) - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.HashEntry
 
setVirtualAdminPath(String) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
shutdown(int, long) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
SHUTDOWN_MODE_KILL - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Shutdown mode: Try to stop active transaction NOW, do no rollbacks
SHUTDOWN_MODE_NORMAL - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Shutdown mode: Wait for all transactions to complete
SHUTDOWN_MODE_ROLLBACK - Static variable in interface org.apache.commons.transaction.file.ResourceManager
Shutdown mode: Try to roll back all active transactions
signalTurn(int) - Method in class org.apache.commons.transaction.util.TurnBarrier
Signals the next turn.
size() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper.CopyingTxContext
 
size() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper.LockingTxContext
 
size() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
size() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
start() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
start() - Method in interface org.apache.commons.transaction.file.ResourceManager
Starts this resource manager.
startGlobalTimeout(Object, long) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
startGlobalTimeout(Object, long) - Method in interface org.apache.commons.transaction.locking.LockManager2
Starts a global timeout for an owner.
startNumber - Variable in class org.apache.commons.transaction.util.TurnBarrier
 
startTime - Variable in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
startTransaction(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
startTransaction(Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Creates and starts a transaction using the specified transaction identifier.
startTransaction() - Method in class org.apache.commons.transaction.memory.OptimisticMapWrapper
 
startTransaction() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
startTransaction() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Starts a new transaction and associates it with the current thread.
status - Variable in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
status - Variable in exception org.apache.commons.transaction.file.ResourceManagerException
 
status - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
statusToCode(int) - Static method in exception org.apache.commons.transaction.file.ResourceManagerException
 
statusToString() - Method in exception org.apache.commons.transaction.file.ResourceManagerException
 
statusToText(int) - Static method in exception org.apache.commons.transaction.file.ResourceManagerException
 
stop(int) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
stop(int, long) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
stop(int, long) - Method in interface org.apache.commons.transaction.file.ResourceManager
Tries to stop this resource manager within the given timeout.
stop(int) - Method in interface org.apache.commons.transaction.file.ResourceManager
Tries to stop this resource manager within a default timeout.
storeDir - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
storeDir - Variable in class org.apache.commons.transaction.file.FileSequence
 
suspended - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
suspendTransaction() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
Suspends the transaction associated to the current thread.
sync() - Method in class org.apache.commons.transaction.file.FileResourceManager
Synchronizes persistent data with caches.

T

test(Object, int, int) - Method in class org.apache.commons.transaction.locking.GenericLock
 
test(Object, int, int) - Method in interface org.apache.commons.transaction.locking.MultiLevelLock2
Tests if a certain lock level could be acquired.
timedOutOwners - Variable in class org.apache.commons.transaction.locking.GenericLockManager
 
timeOut(Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
timeout - Variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
timeout - Variable in class org.apache.commons.transaction.util.TurnBarrier
 
timeoutCheck(Object) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
timeoutMSecs - Variable in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
toString() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
toString() - Method in class org.apache.commons.transaction.locking.GenericLock.LockOwner
 
toString() - Method in class org.apache.commons.transaction.locking.GenericLock
 
toString() - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
toString() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper.HashEntry
 
TransactionalMapWrapper - Class in org.apache.commons.transaction.memory
Wrapper that adds transactional control to all kinds of maps that implement the Map interface.
TransactionalMapWrapper(Map) - Constructor for class org.apache.commons.transaction.memory.TransactionalMapWrapper
Creates a new transactional map wrapper.
TransactionalMapWrapper(Map, MapFactory, SetFactory) - Constructor for class org.apache.commons.transaction.memory.TransactionalMapWrapper
Creates a new transactional map wrapper.
TransactionalMapWrapper.HashEntry - Class in org.apache.commons.transaction.memory
 
TransactionalMapWrapper.HashEntry(Object, Object) - Constructor for class org.apache.commons.transaction.memory.TransactionalMapWrapper.HashEntry
 
TransactionalMapWrapper.TxContext - Class in org.apache.commons.transaction.memory
 
TransactionalMapWrapper.TxContext() - Constructor for class org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
 
TransactionIdToPathMapper - Interface in org.apache.commons.transaction.file
Maps transaction ids to paths and back.
tryLock(Object, int, int, boolean) - Method in class org.apache.commons.transaction.locking.GenericLock
 
tryLock(Object, int, int, boolean, boolean) - Method in class org.apache.commons.transaction.locking.GenericLock
 
tryLock(Object, Object, int, boolean) - Method in class org.apache.commons.transaction.locking.GenericLockManager
 
tryLock(Object, Object, int, boolean) - Method in interface org.apache.commons.transaction.locking.LockManager2
Tries to acquire a lock on a resource.
tryReadLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteLockManager
Tries to acquire a shared, reentrant read lock on a resource.
tryUpgradeLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteUpgradeLockManager
Tries to acquire a reentrant upgrade lock on a resource.
tryWriteLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteLockManager
Tries to acquire an exclusive, reentrant write lock on a resource.
tryWriteLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteUpgradeLockManager
Tries to acquire an exclusive, reentrant write lock on a resource.
TurnBarrier - Class in org.apache.commons.transaction.util
Simple turn based barrier to make a sequence of calls from different threads deterministic.
TurnBarrier(String, LoggerFacade) - Constructor for class org.apache.commons.transaction.util.TurnBarrier
Creates a new turn barrier starting with turn 0 with an unlimited timeout.
TurnBarrier(String, long, LoggerFacade) - Constructor for class org.apache.commons.transaction.util.TurnBarrier
Creates a new turn barrier starting with turn 0.
TurnBarrier(String, long, LoggerFacade, int) - Constructor for class org.apache.commons.transaction.util.TurnBarrier
Creates a new turn barrier.
txId - Variable in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
txId - Variable in exception org.apache.commons.transaction.file.ResourceManagerException
 
txIdMapper - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
txInitialSaneCheck(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
txInitialSaneCheckForWriting(Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 

U

undoScheduledChangeOrCreate(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
undoScheduledDelete(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
unregisterWaiter(GenericLock.LockOwner) - Method in class org.apache.commons.transaction.locking.GenericLock
 
UPGRADE_LOCK - Static variable in class org.apache.commons.transaction.locking.ReadWriteUpgradeLock
 
upgradeLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteUpgradeLockManager
Tries to acquire a reentrant upgrade lock on a resource.
upgradeLockToCommit() - Method in class org.apache.commons.transaction.file.FileResourceManager.TransactionContext
 
URLEncodeIdMapper - Class in org.apache.commons.transaction.file
URL encodes a resource.
URLEncodeIdMapper() - Constructor for class org.apache.commons.transaction.file.URLEncodeIdMapper
 

V

value - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper.HashEntry
The value
values() - Method in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
values() - Method in class org.apache.commons.transaction.memory.TransactionalMapWrapper
 
VirtualAdminCommandsFileResourceManager - Class in org.apache.commons.transaction.file
A resource manager for streamable objects stored in a file system that features additional administration commands.
VirtualAdminCommandsFileResourceManager(String, String, boolean, LoggerFacade) - Constructor for class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
Creates a new resource manager operation on the specified directories.
VirtualAdminCommandsFileResourceManager(String, String, boolean, LoggerFacade, boolean) - Constructor for class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
Creates a new resource manager operation on the specified directories.
VirtualAdminCommandsFileResourceManager(String, String, ResourceIdToPathMapper, LoggerFacade, boolean) - Constructor for class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
Creates a new resource manager operation on the specified directories.
VirtualAdminCommandsFileResourceManager(String, String, ResourceIdToPathMapper, TransactionIdToPathMapper, LoggerFacade, boolean) - Constructor for class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
Creates a new resource manager operation on the specified directories.
virtualAdminPath - Variable in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 

W

waiters - Variable in class org.apache.commons.transaction.locking.GenericLock
 
waitForAllTxToStop(long) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
waitForTurn(int) - Method in class org.apache.commons.transaction.util.TurnBarrier
Blockingly waits for the given turn.
waitingOwners - Variable in class org.apache.commons.transaction.locking.GenericLock
 
WORK_CHANGE_DIR - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
WORK_DELETE_DIR - Static variable in class org.apache.commons.transaction.file.FileResourceManager
 
workDir - Variable in class org.apache.commons.transaction.file.FileResourceManager
 
wouldDeadlock(Object, Set) - Method in class org.apache.commons.transaction.locking.GenericLockManager
Checks if an owner is deadlocked.
wrapped - Variable in class org.apache.commons.transaction.memory.TransactionalMapWrapper
The map wrapped.
write(String, long) - Method in class org.apache.commons.transaction.file.FileSequence
 
WRITE - Static variable in class org.apache.commons.transaction.memory.PessimisticMapWrapper
 
WRITE_LOCK - Static variable in class org.apache.commons.transaction.locking.ReadWriteLock
 
WRITE_LOCK - Static variable in class org.apache.commons.transaction.locking.ReadWriteUpgradeLock
 
writeLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteLockManager
Tries to acquire an exclusive, reentrant write lock on a resource.
writeLock(Object, Object) - Method in class org.apache.commons.transaction.locking.ReadWriteUpgradeLockManager
Tries to acquire an exclusive, reentrant write lock on a resource.
writeResource(Object, Object) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
writeResource(Object, Object, boolean) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
writeResource(Object, Object) - Method in interface org.apache.commons.transaction.file.ResourceManager
Opens a resource for writing.
writeResource(Object, Object, boolean) - Method in class org.apache.commons.transaction.file.VirtualAdminCommandsFileResourceManager
 
writeToPath(String, long) - Method in class org.apache.commons.transaction.file.FileSequence
 
A C D E F G H I K L M N O P R S T U V W 

Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.