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

A

AbstractLockManager<K,M> - Class in org.apache.commons.transaction.locking
Abstract implementation of LockManager.
AbstractLockManager() - Constructor for class org.apache.commons.transaction.locking.AbstractLockManager
 
AbstractLockManager.KeyEntry<K,M> - Class in org.apache.commons.transaction.locking
 
AbstractLockManager.KeyEntry(K, M) - Constructor for class org.apache.commons.transaction.locking.AbstractLockManager.KeyEntry
 
AbstractTransactionalResourceManager<T extends AbstractTransactionalResourceManager.AbstractTxContext> - Class in org.apache.commons.transaction
Abstract base class for transactional resource managers.
AbstractTransactionalResourceManager(String) - Constructor for class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
AbstractTransactionalResourceManager(String, LockManager<Object, Object>) - Constructor for class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
AbstractTransactionalResourceManager.AbstractTxContext - Class in org.apache.commons.transaction
 
AbstractTransactionalResourceManager.AbstractTxContext() - Constructor for class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
 
activeTx - Variable in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
adds - Variable in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
allLocks - Variable in class org.apache.commons.transaction.locking.RWLockManager
 
allLocks - Variable in class org.apache.commons.transaction.locking.SimpleLockManager
 
assureWriteLock(Object) - Method in class org.apache.commons.transaction.memory.PessimisticTxMap
 

B

BasicTxMap<K,V> - Class in org.apache.commons.transaction.memory
Map featuring transactional control.
BasicTxMap(String, LockManager<Object, Object>) - Constructor for class org.apache.commons.transaction.memory.BasicTxMap
 
BasicTxMap(String) - Constructor for class org.apache.commons.transaction.memory.BasicTxMap
 
BasicTxMap.HashEntry - Class in org.apache.commons.transaction.memory
 
BasicTxMap.HashEntry(Object, Object) - Constructor for class org.apache.commons.transaction.memory.BasicTxMap.HashEntry
 
BasicTxMap.MapTxContext - Class in org.apache.commons.transaction.memory
 
BasicTxMap.MapTxContext() - Constructor for class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 

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.
cancelAllTimedOut() - Method in class org.apache.commons.transaction.locking.RWLockManager
 
changedKeys() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
changes - Variable in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
checkForConflicts() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap
 
checkIsStarted() - Method in class org.apache.commons.transaction.locking.AbstractLockManager
 
cleanUp() - Method in class org.apache.commons.transaction.file.MemoryUndoManager.UndoRecord
 
clear() - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
clear() - Method in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
clear() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
clear() - Method in class org.apache.commons.transaction.memory.PessimisticTxMap.LockingTxContext
 
cleared - Variable in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
closeAllStreams() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext
 
code - Variable in exception org.apache.commons.transaction.locking.LockException
 
code - Variable in exception org.apache.commons.transaction.resource.ResourceException
 
code - Variable in exception org.apache.commons.transaction.TransactionException
 
commit() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
 
commit() - Method in class org.apache.commons.transaction.DefaultTransaction
 
commit() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext
 
commit() - Method in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
commit() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
commit() - Method in interface org.apache.commons.transaction.Transaction
Commits the complex transaction meaning that all changes made to participating resource managers are made permanent.
commitCanFail() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
commitCanFail() - Method in class org.apache.commons.transaction.file.TxFileResourceManager
 
commitCanFail() - Method in interface org.apache.commons.transaction.ManageableResourceManager
Checks whether a tried commit could possibly fail because of logical reasons.
commitCanFail() - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
commitCanFail() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap
 
commitCanFail() - Method in class org.apache.commons.transaction.memory.PessimisticTxMap
 
commitTransaction() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
commitTransaction() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap
 
commitTransaction(boolean) - Method in class org.apache.commons.transaction.memory.OptimisticTxMap
 
commitTransaction() - Method in interface org.apache.commons.transaction.TransactionalResourceManager
Commits all changes made in the current transaction and deletes the association between the current thread and the transaction.
computeRemainingTime(Thread) - Method in class org.apache.commons.transaction.locking.AbstractLockManager
 
containsKey(Object) - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
containsValue(Object) - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
copy(StreamableResource) - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
copy(TxFileResourceManager.FileTxContext.TxFileResource) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
copy(StreamableResource) - Method in interface org.apache.commons.transaction.resource.StreamableResource
Copies this resource to a new one.
copy(File, File) - Static method in class org.apache.commons.transaction.util.FileHelper
 
copyChangesToConcurrentTransactions() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap
 
copyNonRecursive(TxFileResourceManager.FileTxContext.TxFileResource) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
copyRecursive(File, File) - Static method in class org.apache.commons.transaction.util.FileHelper
 
count - Variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
create(File) - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
create(String, long) - Method in class org.apache.commons.transaction.file.FileSequence
Creates a sequence if it does not already exist.
create(File) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
create(String) - Method in class org.apache.commons.transaction.locking.RWLockManager
 
create() - Method in class org.apache.commons.transaction.locking.SimpleLockManager
 
createAsDirectory() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
createAsDirectory() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
createAsDirectory() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Creates this resource or a physical directory.
createAsFile() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
createAsFile() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
createAsFile() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Creates this resource or a physical file.
createContext() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
createContext() - Method in class org.apache.commons.transaction.file.TxFileResourceManager
 
createContext() - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
createContext() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap
 
createContext() - Method in class org.apache.commons.transaction.memory.PessimisticTxMap
 
currentNumber - Variable in class org.apache.commons.transaction.util.TurnBarrier
 

D

DEFAULT_TIMEOUT - Static variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
DEFAULT_TIMEOUT - Static variable in class org.apache.commons.transaction.util.TurnBarrier
 
DefaultHierarchicalLockManager<M> - Class in org.apache.commons.transaction.locking
Default implementation of the HierarchicalLockManager.
DefaultHierarchicalLockManager(String, LockManager<Object, M>) - Constructor for class org.apache.commons.transaction.locking.DefaultHierarchicalLockManager
 
DefaultTransaction - Class in org.apache.commons.transaction
Default implementation for the Transaction interface.
DefaultTransaction(LockManager<Object, Object>) - Constructor for class org.apache.commons.transaction.DefaultTransaction
Creates a new transaction implementation.
DefaultTransaction() - Constructor for class org.apache.commons.transaction.DefaultTransaction
Creates a new transaction implementation using the default lock manager.
delete() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
delete(String) - Method in class org.apache.commons.transaction.file.FileSequence
Deletes a sequence if it exists.
delete() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
delete() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Physically deletes this resource.
deleteFile(String) - Static method in class org.apache.commons.transaction.util.FileHelper
Deletes a file specified by a path.
deletes - Variable in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
detectDeadlock(Thread, Set<Thread>) - Method in class org.apache.commons.transaction.locking.RWLockManager
 
dispose() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
 
dispose() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext
 
doTrickyYetEfficientLockOnlyIfThisCanNotCauseADeadlock(Lock, long) - Method in class org.apache.commons.transaction.locking.RWLockManager
 

E

effectiveGlobalTimeouts - Variable in class org.apache.commons.transaction.locking.AbstractLockManager
 
endWork() - Method in class org.apache.commons.transaction.locking.AbstractLockManager
 
endWork() - Method in class org.apache.commons.transaction.locking.DefaultHierarchicalLockManager
 
endWork() - Method in interface org.apache.commons.transaction.locking.LockManager
Ends a block of work that has been started in LockManager.startWork(long, TimeUnit).
enlistResourceManager(ManageableResourceManager) - Method in class org.apache.commons.transaction.DefaultTransaction
 
enlistResourceManager(ManageableResourceManager) - Method in interface org.apache.commons.transaction.Transaction
Adds a resource manager to this complex transaction.
entrySet() - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
entrySet() - Method in class org.apache.commons.transaction.memory.PessimisticTxMap
 
equals(Object) - Method in class org.apache.commons.transaction.locking.AbstractLockManager.KeyEntry
 
equals(Object) - Method in class org.apache.commons.transaction.locking.locks.ResourceRWLock
 
equals(Object) - Method in class org.apache.commons.transaction.memory.BasicTxMap.HashEntry
 
exists() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
exists(String) - Method in class org.apache.commons.transaction.file.FileSequence
Checks if the sequence already exists.
exists() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
exists() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Checks if this resource physically exists.
externalAdds - Variable in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
externalChangedKeys() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
externalChanges - Variable in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
externalDeletes - Variable in class org.apache.commons.transaction.memory.OptimisticTxMap.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
 
FileResourceManager - Class in org.apache.commons.transaction.file
Default file system implementation of a resource manager.
FileResourceManager(String) - Constructor for class org.apache.commons.transaction.file.FileResourceManager
 
FileResourceManager.FileResource - Class in org.apache.commons.transaction.file
 
FileResourceManager.FileResource(String) - Constructor for class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
FileResourceManager.FileResource(File) - Constructor for class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
FileResourceUndoManager - Interface in org.apache.commons.transaction.file
 
FileResourceUndoManager.Code - Enum in org.apache.commons.transaction.file
 
FileSequence - Class in org.apache.commons.transaction.file
Fail-Safe sequence store implementation using the file system.
FileSequence(String) - Constructor for class org.apache.commons.transaction.file.FileSequence
Creates a new resource manager operation on the specified directories.
forgetRecord() - Method in interface org.apache.commons.transaction.file.FileResourceUndoManager
 
forgetRecord() - Method in class org.apache.commons.transaction.file.MemoryUndoManager
 
forgetTransaction() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
forgetTransaction() - Method in interface org.apache.commons.transaction.ManageableResourceManager
Instructs the resource manager to forget about the current transaction.

G

get(Object) - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
get(Object) - Method in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
get(Object) - Method in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
get(Object) - Method in class org.apache.commons.transaction.memory.PessimisticTxMap.LockingTxContext
 
getAbsolutePrewaitTime() - Method in class org.apache.commons.transaction.locking.RWLockManager
 
getAccessTimeout() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap
 
getActiveTx() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
getActiveTx() - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
getCheckedActiveTx() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
getChild(String) - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
getChild(String) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
getChild(String) - Method in interface org.apache.commons.transaction.resource.StreamableResource
Gets a specific child of this resource.
getChildren() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
getChildren() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
getChildren() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Gets the children of the resource.
getCode() - Method in exception org.apache.commons.transaction.locking.LockException
Returns the formal reason for the exception.
getCode() - Method in exception org.apache.commons.transaction.resource.ResourceException
Returns the formal reason for the exception.
getCode() - Method in exception org.apache.commons.transaction.TransactionException
Returns the formal reason for the exception.
getCommitTimeout() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap
 
getFile() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
getFileForResource(StreamableResource) - Static method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
getHLM() - Method in class org.apache.commons.transaction.file.TxFileResourceManager
 
getKey() - Method in class org.apache.commons.transaction.memory.BasicTxMap.HashEntry
 
getLm() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
getName() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
getName() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
getName() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Gets the name, i.e. the last segment of the path.
getParent() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
getParent() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
getParent() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Gets the parent of this resource, i.e. the directory this resource resides in or null if this is the root folder.
getPath() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
getPath() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
getPath() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Gets the full path of this resource
getPathI(String) - Method in class org.apache.commons.transaction.file.FileSequence
 
getPathII(String) - Method in class org.apache.commons.transaction.file.FileSequence
 
getPrewaitTimeDivisor() - Method in class org.apache.commons.transaction.locking.RWLockManager
 
getProperty(String) - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
getProperty(String) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
getProperty(String) - Method in interface org.apache.commons.transaction.resource.StreamableResource
Retrieves a specific property.
getQueuedThreads() - Method in class org.apache.commons.transaction.locking.locks.ResourceRWLock
 
getResource(String) - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getResource(String) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext
 
getResource(String) - Method in class org.apache.commons.transaction.file.TxFileResourceManager
 
getResource(String) - Method in interface org.apache.commons.transaction.resource.ResourceManager
Gets the resource denoted by the path
getResourceId() - Method in exception org.apache.commons.transaction.locking.LockException
Returns the resource the lock was tried on.
getResourceRWLock() - Method in class org.apache.commons.transaction.locking.locks.ResourceRWLock.InnerLock
 
getRootPath() - Method in class org.apache.commons.transaction.file.FileResourceManager
 
getRootPath() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext
 
getRootPath() - Method in class org.apache.commons.transaction.file.TxFileResourceManager
 
getRootPath() - Method in interface org.apache.commons.transaction.resource.ResourceManager
Gets the root path of this manager.
getUndoManager() - Method in class org.apache.commons.transaction.file.TxFileResourceManager
 
getValue() - Method in class org.apache.commons.transaction.memory.BasicTxMap.HashEntry
 
getWrappedMap() - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
getWrappedMap() - Method in interface org.apache.commons.transaction.memory.TxMap
Gets the underlying map that is wrapped by this transactional implementation.

H

hashCode() - Method in class org.apache.commons.transaction.locking.AbstractLockManager.KeyEntry
 
hashCode() - Method in class org.apache.commons.transaction.memory.BasicTxMap.HashEntry
 
hasTimedOut(Thread) - Method in class org.apache.commons.transaction.locking.AbstractLockManager
 
hasTimedOut(Thread) - Method in class org.apache.commons.transaction.locking.SimpleLockManager
 
HierarchicalLockManager<K,M> - Interface in org.apache.commons.transaction.locking
Interface to manage locks on hierarchically organized resources.
hlm - Variable in class org.apache.commons.transaction.file.TxFileResourceManager
 

I

isDirectory() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
isDirectory() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
isDirectory() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Checks whether this resource is a directory, i.e. whether it can have children.
isEmpty() - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
isEmpty() - Method in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
isFile() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
isFile() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
isFile() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Checks whether this resource is a file, i.e. whether it contains a content stream.
isMarkedForRollback() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
 
isPartofComplexTransaction() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
isReadOnly() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
 
isReadOnly() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
isReadOnly() - Method in interface org.apache.commons.transaction.ManageableResourceManager
Checks if there had been any write operations on this resource manager since the start of the transaction.
isRollbackOnly() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
isRollbackOnly() - Method in class org.apache.commons.transaction.DefaultTransaction
 
isRollbackOnly() - Method in interface org.apache.commons.transaction.ManageableResourceManager
Checks whether this resource manager allows a rollback as the only valid outcome.
isRollbackOnly() - Method in interface org.apache.commons.transaction.Transaction
Checks whether this transaction allows a rollback as the only valid outcome.
isUnacquired() - Method in class org.apache.commons.transaction.locking.locks.ResourceRWLock
 
isWorking() - Method in class org.apache.commons.transaction.locking.AbstractLockManager
 

J

join() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
 
joinTransaction(LockManager<Object, Object>) - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
joinTransaction(LockManager<Object, Object>) - Method in interface org.apache.commons.transaction.ManageableResourceManager
Lets this resource manager join a transaction that is protected by a common lock manager.

K

key - Variable in class org.apache.commons.transaction.memory.BasicTxMap.HashEntry
The key
keys() - Method in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
keys() - Method in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
keys() - Method in class org.apache.commons.transaction.memory.PessimisticTxMap.LockingTxContext
 
keySet() - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
keySet() - Method in class org.apache.commons.transaction.memory.PessimisticTxMap
 

L

lm - Variable in class org.apache.commons.transaction.DefaultTransaction
 
localRecords - Variable in class org.apache.commons.transaction.file.MemoryUndoManager
 
lock(M, K, boolean) - Method in class org.apache.commons.transaction.locking.AbstractLockManager
 
lock(M, Object, boolean) - Method in class org.apache.commons.transaction.locking.DefaultHierarchicalLockManager
 
lock(M, K, boolean) - Method in interface org.apache.commons.transaction.locking.LockManager
Locks a resource denoted by a key and a resource manager.
LockException - Exception in org.apache.commons.transaction.locking
Exception displaying a lock problem.
LockException(String, Object) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException(String, LockException.Code) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException(String) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException(String, LockException.Code, Object) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException(LockException.Code, Object) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException(String, Throwable, Object) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException(Throwable, Object) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException(Throwable) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException(LockException.Code) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException(Throwable, LockException.Code) - Constructor for exception org.apache.commons.transaction.locking.LockException
 
LockException.Code - Enum in org.apache.commons.transaction.locking
 
lockInHierarchy(M, String, boolean) - Method in class org.apache.commons.transaction.locking.DefaultHierarchicalLockManager
 
lockInHierarchy(M, String, boolean) - Method in interface org.apache.commons.transaction.locking.HierarchicalLockManager
Locks a specific resource denoted by a resource manager it holds and a path.
LockManager<K,M> - Interface in org.apache.commons.transaction.locking
Main interface to acquire and manage locks.
locksForThreads - Variable in class org.apache.commons.transaction.locking.AbstractLockManager
 

M

makeBackup(File, File, boolean) - Static method in class org.apache.commons.transaction.util.FileHelper
 
ManageableResourceManager - Interface in org.apache.commons.transaction
Needs to be implemented by all resource managers that want to take part in a combined transaction.
markForRollback() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
 
meet() - Method in class org.apache.commons.transaction.util.RendezvousBarrier
Meet at this barrier.
MemoryUndoManager - Class in org.apache.commons.transaction.file
Default implementation of FileResourceUndoManager.
MemoryUndoManager(String) - Constructor for class org.apache.commons.transaction.file.MemoryUndoManager
 
MemoryUndoManager.UndoRecord - Class in org.apache.commons.transaction.file
 
MemoryUndoManager.UndoRecord(FileResourceUndoManager.Code, File) - Constructor for class org.apache.commons.transaction.file.MemoryUndoManager.UndoRecord
 
MemoryUndoManager.UndoRecord(FileResourceUndoManager.Code, File, File) - Constructor for class org.apache.commons.transaction.file.MemoryUndoManager.UndoRecord
 
mkdirs() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
move(StreamableResource) - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
move(TxFileResourceManager.FileTxContext.TxFileResource) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
move(StreamableResource) - Method in interface org.apache.commons.transaction.resource.StreamableResource
Moves (or renames) this resource to a new one.
move(File, File) - Static method in class org.apache.commons.transaction.util.FileHelper
 
moveNonRecursive(TxFileResourceManager.FileTxContext.TxFileResource) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
moveOrcopyRecursive(TxFileResourceManager.FileTxContext.TxFileResource, boolean) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
moveOrCopySaneCheck(StreamableResource) - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
moveRecursive(File, File) - Static method in class org.apache.commons.transaction.util.FileHelper
 

N

name - Variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
name - Variable in class org.apache.commons.transaction.util.TurnBarrier
 
nextSequenceValueBottom(String, long) - Method in class org.apache.commons.transaction.file.FileSequence
Gets the next value of the sequence.

O

OptimisticTxMap<K,V> - Class in org.apache.commons.transaction.memory
Map featuring transactional control.
OptimisticTxMap(String) - Constructor for class org.apache.commons.transaction.memory.OptimisticTxMap
 
OptimisticTxMap(String, LockManager<Object, Object>) - Constructor for class org.apache.commons.transaction.memory.OptimisticTxMap
 
OptimisticTxMap.CopyingTxContext - Class in org.apache.commons.transaction.memory
 
OptimisticTxMap.CopyingTxContext() - Constructor for class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
org.apache.commons.transaction - package org.apache.commons.transaction
Apache Commons Transaction Making concurrent programming transactional.
org.apache.commons.transaction.file - package org.apache.commons.transaction.file
Transactional file access .
org.apache.commons.transaction.locking - package org.apache.commons.transaction.locking
Locking: Central package for locking related stuff.
org.apache.commons.transaction.locking.locks - package org.apache.commons.transaction.locking.locks
 
org.apache.commons.transaction.memory - package org.apache.commons.transaction.memory
Transactional Maps Working on maps as if they were databases.
org.apache.commons.transaction.resource - package org.apache.commons.transaction.resource
 
org.apache.commons.transaction.util - package org.apache.commons.transaction.util
 

P

parties - Variable in class org.apache.commons.transaction.util.RendezvousBarrier
 
PessimisticTxMap<K,V> - Class in org.apache.commons.transaction.memory
Map featuring transactional control.
PessimisticTxMap(String) - Constructor for class org.apache.commons.transaction.memory.PessimisticTxMap
 
PessimisticTxMap(String, LockManager<Object, Object>) - Constructor for class org.apache.commons.transaction.memory.PessimisticTxMap
 
PessimisticTxMap.LockingTxContext - Class in org.apache.commons.transaction.memory
 
PessimisticTxMap.LockingTxContext() - Constructor for class org.apache.commons.transaction.memory.PessimisticTxMap.LockingTxContext
 
prepare() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
 
prepare() - Method in class org.apache.commons.transaction.DefaultTransaction
 
prepareMoveorCopy(StreamableResource) - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
prepareTransaction() - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager
 
prepareTransaction() - Method in interface org.apache.commons.transaction.ManageableResourceManager
Checks whether this resource manager is willing and able to commit its part of the complex transaction.
put(K, V) - Method in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
put(K, V) - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
put(K, V) - Method in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
put(K, V) - Method in class org.apache.commons.transaction.memory.PessimisticTxMap.LockingTxContext
 
put(K, V) - Method in class org.apache.commons.transaction.memory.PessimisticTxMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.apache.commons.transaction.memory.BasicTxMap
 

R

read(String) - Method in class org.apache.commons.transaction.file.FileSequence
 
readFromPath(String) - Method in class org.apache.commons.transaction.file.FileSequence
 
readInto(File) - Static method in class org.apache.commons.transaction.util.FileHelper
 
readLock(Object) - Method in class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
 
readLock() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
readLock() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
readLock() - Method in class org.apache.commons.transaction.locking.locks.ResourceRWLock
 
readLock() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Explicitly sets a read lock on this resource.
readStream() - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
readStream() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
readStream() - Method in interface org.apache.commons.transaction.resource.StreamableResource
Gets the input stream associated to this resource.
recordCreate(File) - Method in interface org.apache.commons.transaction.file.FileResourceUndoManager
 
recordCreate(File) - Method in class org.apache.commons.transaction.file.MemoryUndoManager
 
recordDelete(File) - Method in interface org.apache.commons.transaction.file.FileResourceUndoManager
 
recordDelete(File) - Method in class org.apache.commons.transaction.file.MemoryUndoManager
 
recordUpdate(File) - Method in interface org.apache.commons.transaction.file.FileResourceUndoManager
 
recordUpdate(File) - Method in class org.apache.commons.transaction.file.MemoryUndoManager
 
recordUpdate(File, boolean) - Method in class org.apache.commons.transaction.file.MemoryUndoManager
 
registerStream(Closeable) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext
 
registerWaiter() - Method in class org.apache.commons.transaction.locking.locks.ResourceRWLock
 
release() - Method in class org.apache.commons.transaction.locking.AbstractLockManager
 
release() - Method in class org.apache.commons.transaction.locking.RWLockManager
 
release() - Method in class org.apache.commons.transaction.locking.SimpleLockManager
 
remove(Object) - Method in class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
 
remove(Object) - Method in class org.apache.commons.transaction.memory.BasicTxMap
 
remove(Object) - Method in class org.apache.commons.transaction.memory.OptimisticTxMap.CopyingTxContext
 
remove(Object) - Method in class org.apache.commons.transaction.memory.PessimisticTxMap.LockingTxContext
 
remove(Object) - Method in class org.apache.commons.transaction.memory.PessimisticTxMap
 
removeNonRecursive() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
removeProperty(String) - Method in class org.apache.commons.transaction.file.FileResourceManager.FileResource
 
removeProperty(String) - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
removeProperty(String) - Method in interface org.apache.commons.transaction.resource.StreamableResource
Removes a specific property.
removeRecursive() - Method in class org.apache.commons.transaction.file.TxFileResourceManager.FileTxContext.TxFileResource
 
removeRecursive(File) - Static method in class org.apache.commons.transaction.util.FileHelper
 
removeUnsuedLocks() - Method in class org.apache.commons.transaction.locking.RWLockManager
 
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) - Constructor for class org.apache.commons.transaction.util.