org.exolab.core.foundation
Class TransactionContext

java.lang.Object
  extended byorg.exolab.core.foundation.TransactionContext

public abstract class TransactionContext
extends java.lang.Object

Version:
$Revision: 1.1 $ $Date: 2000/03/09 23:52:43 $
Author:
Assaf Arkin

Constructor Summary
TransactionContext()
           
 
Method Summary
 int getLockTimeout()
          Returns the timeout waiting to acquire a lock.
 int getTransactionTimeout()
          Returns the timeout of this transaction.
 void setLockTimeout(int timeout)
          Sets the timeout waiting to acquire a lock.
 void setTransactionTimeout(int timeout)
          Sets the timeout of this transaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionContext

public TransactionContext()
Method Detail

setTransactionTimeout

public void setTransactionTimeout(int timeout)
Sets the timeout of this transaction. The timeout is specified in seconds.


getTransactionTimeout

public int getTransactionTimeout()
Returns the timeout of this transaction. The timeout is specified in seconds.


getLockTimeout

public int getLockTimeout()
Returns the timeout waiting to acquire a lock. The timeout is specified in seconds.


setLockTimeout

public void setLockTimeout(int timeout)
Sets the timeout waiting to acquire a lock. The timeout is specified in seconds.



Copyright © 1999-2005 The Exolab Group. All Rights Reserved.