aicas logo Jamaica 3.4 release 8

com.sun.jndi.ldap
Class LdapPoolManager

java.lang.Object
  extended by com.sun.jndi.ldap.LdapPoolManager

public final class LdapPoolManager
extends Object

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).


Field Summary
static boolean debug
           
static boolean trace
           
 
Method Summary
static void expire(long threshold)
          Closes idle connections idle since specified time.
static void showStats(PrintStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public static final boolean debug

trace

public static final boolean trace
Method Detail

showStats

public static void showStats(PrintStream out)

expire

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:
Date

aicas logo Jamaica 3.4 release 8

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