jdk/src/share/classes/com/sun/jndi/ldap/pool/Pool.java
changeset 25808 e113d0a0fde0
parent 10324 e28265130e4f
equal deleted inserted replaced
25807:6c325960c9ee 25808:e113d0a0fde0
    66  * ConnectionsWeakRef object into the reference queue.
    66  * ConnectionsWeakRef object into the reference queue.
    67  * The reference queue is monitored lazily for reclaimable Connections
    67  * The reference queue is monitored lazily for reclaimable Connections
    68  * whenever a pooled connection is requested or a call to remove the expired
    68  * whenever a pooled connection is requested or a call to remove the expired
    69  * connections is made. The monitoring is done regularly when idle connection
    69  * connections is made. The monitoring is done regularly when idle connection
    70  * timeout is set as the PoolCleaner removes expired connections periodically.
    70  * timeout is set as the PoolCleaner removes expired connections periodically.
    71  * As determined by the experiements, cleanup of resources using the
    71  * As determined by experimentation, cleanup of resources using the
    72  * ReferenceQueue mechanism is reliable and has immidiate effect than the
    72  * ReferenceQueue mechanism is reliable and has more immediate effect than the
    73  * finalizer approach.
    73  * finalizer approach.
    74  *
    74  *
    75  * @author Rosanna Lee
    75  * @author Rosanna Lee
    76  */
    76  */
    77 
    77