com.ds.fw.dbcon
Class FwDBConnection

java.lang.Object
  |
  +--com.ds.fw.dbcon.FwDBConnection

public class FwDBConnection
extends java.lang.Object


Constructor Summary
FwDBConnection()
           
 
Method Summary
 void FwDBConnection()
           
 java.sql.Connection getConnection()
          Get method.
 long getLastUsedTime()
          Get method.
 long getLifeTime()
          Get method.Get the lifetime of the connection
 long getStartUsedTime()
          Get method.
 int getStatus()
          Get method.
 long getTimeout()
          Get method.
 boolean isClosed()
           
 void setConnection(java.sql.Connection connection)
          Set method.
 void setLastUsedTime(long lastUsedTime1)
          Set method.
 void setLifeTime(long lifeTime1)
          Set method.
 void setStartUsedTime(long startUsedTime1)
          Set method.
 void setStatus(int status1)
          Set method.
 void setTimeout(long timeout1)
          Set method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FwDBConnection

public FwDBConnection()
Method Detail

FwDBConnection

public void FwDBConnection()

getConnection

public java.sql.Connection getConnection()
Get method. Get the connection.


setConnection

public void setConnection(java.sql.Connection connection)
Set method. Sets the connection.


getStatus

public int getStatus()
Get method. Get the connection status. 0=free 1=busy


setStatus

public void setStatus(int status1)
Set method. Set the connection status. 0=free 1=busy


getLifeTime

public long getLifeTime()
Get method.Get the lifetime of the connection


setLifeTime

public void setLifeTime(long lifeTime1)
Set method. Set the connection life time.


getTimeout

public long getTimeout()
Get method. Get the connection timeout.


setTimeout

public void setTimeout(long timeout1)
Set method. Set the connection timeout.


getLastUsedTime

public long getLastUsedTime()
Get method. Get time when the connection was used for the last time.


setLastUsedTime

public void setLastUsedTime(long lastUsedTime1)
Set method. Set time when the connection was used for the last time.


getStartUsedTime

public long getStartUsedTime()
Get method. Get time when the connection was started for the last time.


setStartUsedTime

public void setStartUsedTime(long startUsedTime1)
Set method. Set time when the connection was started for the last time.


isClosed

public boolean isClosed()