APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.jndi.ldap.pool

public final Class PoolCleaner

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable

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

Field Summary

Modifier and TypeField and Description
private final long
private final Pool[]

Constructor Summary

AccessConstructor and Description
public
PoolCleaner(long
ms to wait between cleaning
period
,
Pool[]
non-null array of Pools to clean
pools
)

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

periodback to summary
private final long period
poolsback to summary
private final Pool[] pools

Constructor Detail

PoolCleanerback to summary
public PoolCleaner(long period, Pool[] pools)
Parameters
period:long

ms to wait between cleaning

pools:Pool[]

non-null array of Pools to clean

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override