public final class

PoolCleaner

extends Thread
java.lang.Object
   ↳ java.lang.Thread
     ↳ com.sun.jndi.ldap.pool.PoolCleaner

Class Overview

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

Summary

[Expand]
Inherited Constants
From class java.lang.Thread
Public Constructors
PoolCleaner(long period, Pool[] pools)
Public Methods
void run()
If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.
[Expand]
Inherited Methods
From class java.lang.Thread
From class java.lang.Object
From interface java.lang.Runnable

Public Constructors

public PoolCleaner (long period, Pool[] pools)

Parameters
period ms to wait between cleaning
pools non-null array of Pools to clean

Public Methods

public void run ()

If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.

Subclasses of Thread should override this method.