aicas logo Jamaica 3.4 release 8

com.sun.jndi.ldap.pool
Class PoolCleaner

java.lang.Object
  extended by java.lang.Thread
      extended by com.sun.jndi.ldap.pool.PoolCleaner
All Implemented Interfaces:
Runnable

public final class PoolCleaner
extends Thread

Thread that wakes up periodically and closes expired, unused connections.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PoolCleaner(long period, Pool[] pools)
           
 
Method Summary
 void run()
          run contains only a call to logic.run if logic is not null and not this.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, countStackFrames0, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PoolCleaner

public PoolCleaner(long period,
                   Pool[] pools)
Parameters:
period - ms to wait between cleaning
pools - non-null array of Pools to clean
Method Detail

run

public void run()
Description copied from class: Thread
run contains only a call to logic.run if logic is not null and not this. If this thread is to be started without providing a runnable instance, this method should be redefined to implement the thread body. If a runnable is provided, run calls the runnable's run method. Note that any redefinition of run() must call super.run() in case it is desired that the logic provided to the constructor is to be executed as well.

Specified by:
run in interface Runnable
Overrides:
run in class Thread

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.