Uses of Class
org.apache.commons.transaction.file.ResourceManagerException

Packages that use ResourceManagerException
org.apache.commons.transaction.file   
 

Uses of ResourceManagerException in org.apache.commons.transaction.file
 

Subclasses of ResourceManagerException in org.apache.commons.transaction.file
 class ResourceManagerSystemException
          Signals an internal system error in a ResourceManager.
 

Methods in org.apache.commons.transaction.file that throw ResourceManagerException
 void FileResourceManager.TransactionContext.init()
           
 void FileResourceManager.TransactionContext.rollback()
           
 void FileResourceManager.TransactionContext.commit()
           
 void FileResourceManager.TransactionContext.cleanUp()
           
 void FileResourceManager.TransactionContext.finalCleanUp()
           
 void FileResourceManager.TransactionContext.upgradeLockToCommit()
           
 void FileResourceManager.TransactionContext.saveState()
           
 void FileResourceManager.TransactionContext.recoverState()
           
 boolean FileResourceManager.lockResource(java.lang.Object resourceId, java.lang.Object txId)
           
 boolean FileResourceManager.lockResource(java.lang.Object resourceId, java.lang.Object txId, boolean shared)
           
 boolean FileResourceManager.lockResource(java.lang.Object resourceId, java.lang.Object txId, boolean shared, boolean wait, long timeoutMSecs, boolean reentrant)
           
 int[] FileResourceManager.getSupportedIsolationLevels()
           
 boolean FileResourceManager.isIsolationLevelSupported(int level)
           
 long FileResourceManager.getTransactionTimeout(java.lang.Object txId)
           
 void FileResourceManager.setTransactionTimeout(java.lang.Object txId, long mSecs)
           
 int FileResourceManager.getIsolationLevel(java.lang.Object txId)
           
 void FileResourceManager.setIsolationLevel(java.lang.Object txId, int level)
           
 int FileResourceManager.getTransactionState(java.lang.Object txId)
           
 void FileResourceManager.startTransaction(java.lang.Object txId)
           
 void FileResourceManager.markTransactionForRollback(java.lang.Object txId)
           
 int FileResourceManager.prepareTransaction(java.lang.Object txId)
           
 void FileResourceManager.rollbackTransaction(java.lang.Object txId)
           
 void FileResourceManager.commitTransaction(java.lang.Object txId)
           
 boolean FileResourceManager.resourceExists(java.lang.Object resourceId)
           
 boolean FileResourceManager.resourceExists(java.lang.Object txId, java.lang.Object resourceId)
           
 void FileResourceManager.deleteResource(java.lang.Object txId, java.lang.Object resourceId)
           
 void FileResourceManager.deleteResource(java.lang.Object txId, java.lang.Object resourceId, boolean assureOnly)
           
 void FileResourceManager.createResource(java.lang.Object txId, java.lang.Object resourceId)
           
 void FileResourceManager.createResource(java.lang.Object txId, java.lang.Object resourceId, boolean assureOnly)
           
 java.io.InputStream FileResourceManager.readResource(java.lang.Object resourceId)
           
 java.io.InputStream FileResourceManager.readResource(java.lang.Object txId, java.lang.Object resourceId)
           
 java.io.OutputStream FileResourceManager.writeResource(java.lang.Object txId, java.lang.Object resourceId)
           
protected  void FileResourceManager.fileInitialSaneCheck(java.lang.Object txId, java.lang.Object path)
           
protected  void FileResourceManager.assureNotMarkedForRollback(FileResourceManager.TransactionContext context)
           
protected  FileResourceManager.TransactionContext FileResourceManager.txInitialSaneCheckForWriting(java.lang.Object txId)
           
protected  FileResourceManager.TransactionContext FileResourceManager.txInitialSaneCheck(java.lang.Object txId)
           
protected  boolean FileResourceManager.undoScheduledDelete(java.lang.Object txId, java.lang.Object resourceId)
           
protected  boolean FileResourceManager.undoScheduledChangeOrCreate(java.lang.Object txId, java.lang.Object resourceId)
           
protected  java.lang.String FileResourceManager.getPathForWrite(java.lang.Object txId, java.lang.Object resourceId)
           
protected  java.lang.String FileResourceManager.getPathForRead(java.lang.Object txId, java.lang.Object resourceId)
           
protected  int FileResourceManager.getSharedLockLevel(FileResourceManager.TransactionContext context)
           
 int ResourceManager.getDefaultIsolationLevel()
          Gets the default isolation level as an integer.
 int[] ResourceManager.getSupportedIsolationLevels()
          Gets an array of all isolation levels supported by this resource manager.
 boolean ResourceManager.isIsolationLevelSupported(int level)
          Tests if the specified isolation level is supported by this resource manager.
 int ResourceManager.getIsolationLevel(java.lang.Object txId)
          Gets the isolation level for the specified transaction.
 void ResourceManager.setIsolationLevel(java.lang.Object txId, int level)
          Sets the isolation level for the specified transaction.
 long ResourceManager.getDefaultTransactionTimeout()
          Gets the default transaction timeout.
 long ResourceManager.getTransactionTimeout(java.lang.Object txId)
          Gets the transaction timeout of the specified transaction.
 void ResourceManager.setTransactionTimeout(java.lang.Object txId, long mSecs)
          Sets the transaction timeout of the specified transaction.
 void ResourceManager.startTransaction(java.lang.Object txId)
          Creates and starts a transaction using the specified transaction identifier.
 int ResourceManager.prepareTransaction(java.lang.Object txId)
          Prepares the transaction specified by the given transaction identifier for commit.
 void ResourceManager.markTransactionForRollback(java.lang.Object txId)
          Marks the transaction specified by the given transaction identifier for rollback.
 void ResourceManager.rollbackTransaction(java.lang.Object txId)
          Rolls back the transaction specified by the given transaction identifier.
 void ResourceManager.commitTransaction(java.lang.Object txId)
          Commis the transaction specified by the given transaction identifier.
 int ResourceManager.getTransactionState(java.lang.Object txId)
          Gets the state of the transaction specified by the given transaction identifier.
 boolean ResourceManager.lockResource(java.lang.Object resourceId, java.lang.Object txId, boolean shared, boolean wait, long timeoutMSecs, boolean reentrant)
          Explicitly locks a resource.
 boolean ResourceManager.lockResource(java.lang.Object resourceId, java.lang.Object txId, boolean shared)
          Explicitly locks a resource in reentrant style.
 boolean ResourceManager.lockResource(java.lang.Object resourceId, java.lang.Object txId)
          Explicitly locks a resource exclusively, i.e.
 boolean ResourceManager.resourceExists(java.lang.Object txId, java.lang.Object resourceId)
          Checks if a resource exists.
 boolean ResourceManager.resourceExists(java.lang.Object resourceId)
          Checks if a resource exists wihtout being in a transaction.
 void ResourceManager.deleteResource(java.lang.Object txId, java.lang.Object resourceId)
          Deletes a resource.
 void ResourceManager.deleteResource(java.lang.Object txId, java.lang.Object resourceId, boolean assureOnly)
          Deletes a resource.
 void ResourceManager.createResource(java.lang.Object txId, java.lang.Object resourceId)
          Creates a resource.
 void ResourceManager.createResource(java.lang.Object txId, java.lang.Object resourceId, boolean assureOnly)
          Creates a resource.
 java.io.InputStream ResourceManager.readResource(java.lang.Object txId, java.lang.Object resourceId)
          Opens a streamable resource for reading.
 java.io.InputStream ResourceManager.readResource(java.lang.Object resourceId)
          Opens a streamable resource for a single reading request not inside the scope of a transaction.
 java.io.OutputStream ResourceManager.writeResource(java.lang.Object txId, java.lang.Object resourceId)
          Opens a resource for writing.
 boolean FileSequence.create(java.lang.String sequenceName, long initialValue)
          Creates a sequence if it does not already exist.
 long FileSequence.nextSequenceValueBottom(java.lang.String sequenceName, long increment)
          Gets the next value of the sequence.
protected  long FileSequence.read(java.lang.String sequenceName)
           
protected  void FileSequence.write(java.lang.String sequenceName, long value)
           
protected  long FileSequence.readFromPath(java.lang.String path)
           
protected  void FileSequence.writeToPath(java.lang.String path, long value)
           
 

Constructors in org.apache.commons.transaction.file that throw ResourceManagerException
FileResourceManager.TransactionContext(java.lang.Object txId)
           
FileSequence(java.lang.String storeDir, LoggerFacade logger)
          Creates a new resouce manager operation on the specified directories.
 



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