public final class

LdapPoolManager

extends Object
java.lang.Object
   ↳ com.sun.jndi.ldap.LdapPoolManager

Class Overview

Contains utilities for managing connection pools of LdapClient. Contains method for - checking whether attempted connection creation may be pooled - creating a pooled connection - closing idle connections. If a timeout period has been configured, then it will automatically close and remove idle connections (those that have not been used for the duration of the timeout period).

Summary

Fields
public static final boolean debug
public static final boolean trace
Public Methods
static void expire(long threshold)
Closes idle connections idle since specified time.
static void showStats(PrintStream out)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final boolean debug

public static final boolean trace

Public Methods

public static void expire (long threshold)

Closes idle connections idle since specified time.

Parameters
threshold Close connections idle since this time, as specified in milliseconds since "the epoch".
See Also

public static void showStats (PrintStream out)