Oracle10g JDBC

oracle.jdbc.pool
Class OracleConnectionCacheTimeOutThread

java.lang.Object
  extended byjava.lang.Thread
      extended byoracle.jdbc.pool.OracleConnectionCacheTimeOutThread
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class OracleConnectionCacheTimeOutThread
extends java.lang.Thread
implements java.io.Serializable

An OracleConnectionCacheTimeOutThread object is a thread object that implements the connection cache time out scheme. In this TTL scheme, after the timeout expired, logical connections are closed and returned to the cache for reuse. This timeout mechanism relies on the connection cache scheme implemented in OracleConnectionCacheImpl

See Also:
Serialized Form

Field Summary
static java.lang.String BUILD_DATE
           
static boolean PRIVATE_TRACE
           
static boolean TRACE
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void run()
           
 void runInactivityTimeOut(long threadInactivityTimeOut)
           
 void runTimeToLiveTimeOut(long threadTTLTimeOut)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRACE

public static final boolean TRACE
See Also:
Constant Field Values

PRIVATE_TRACE

public static final boolean PRIVATE_TRACE
See Also:
Constant Field Values

BUILD_DATE

public static final java.lang.String BUILD_DATE
See Also:
Constant Field Values
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

runTimeToLiveTimeOut

public void runTimeToLiveTimeOut(long threadTTLTimeOut)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

runInactivityTimeOut

public void runInactivityTimeOut(long threadInactivityTimeOut)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

Oracle10g JDBC

Copyright © 1998,2004, Oracle. All rights reserved