Return-Path: X-Original-To: apmail-commons-notifications-archive@minotaur.apache.org Delivered-To: apmail-commons-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9EFB18F92 for ; Wed, 27 May 2015 15:48:45 +0000 (UTC) Received: (qmail 98883 invoked by uid 500); 27 May 2015 15:48:39 -0000 Delivered-To: apmail-commons-notifications-archive@commons.apache.org Received: (qmail 98829 invoked by uid 500); 27 May 2015 15:48:39 -0000 Mailing-List: contact notifications-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list notifications@commons.apache.org Received: (qmail 98577 invoked by uid 99); 27 May 2015 15:48:39 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 15:48:39 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 640D5AC0B60 for ; Wed, 27 May 2015 15:48:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r952883 [13/37] - in /websites/production/commons/content/proper/commons-pool/api-2.4: ./ org/ org/apache/ org/apache/commons/ org/apache/commons/pool2/ org/apache/commons/pool2/class-use/ org/apache/commons/pool2/impl/ org/apache/commons/p... Date: Wed, 27 May 2015 15:48:36 -0000 To: notifications@commons.apache.org From: psteitz@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150527154839.640D5AC0B60@hades.apache.org> Added: websites/production/commons/content/proper/commons-pool/api-2.4/org/apache/commons/pool2/impl/DefaultEvictionPolicy.html ============================================================================== --- websites/production/commons/content/proper/commons-pool/api-2.4/org/apache/commons/pool2/impl/DefaultEvictionPolicy.html (added) +++ websites/production/commons/content/proper/commons-pool/api-2.4/org/apache/commons/pool2/impl/DefaultEvictionPolicy.html Wed May 27 15:48:33 2015 @@ -0,0 +1,322 @@ + + + + + + +DefaultEvictionPolicy (Apache Commons Pool 2.4 API) + + + + + + + + + + + +
+
org.apache.commons.pool2.impl
+

Class DefaultEvictionPolicy<T>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.commons.pool2.impl.DefaultEvictionPolicy<T>
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evict

        +
        public boolean evict(EvictionConfig config,
        +                     PooledObject<T> underTest,
        +                     int idleCount)
        +
        Description copied from interface: EvictionPolicy
        +
        This method is called to test if an idle object in the pool should be + evicted or not.
        +
        +
        Specified by:
        +
        evict in interface EvictionPolicy<T>
        +
        Parameters:
        +
        config - The pool configuration settings related to eviction
        +
        underTest - The pooled object being tested for eviction
        +
        idleCount - The current number of idle objects in the pool including + the object under test
        +
        Returns:
        +
        true if the object should be evicted, otherwise + false
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.

+ + Propchange: websites/production/commons/content/proper/commons-pool/api-2.4/org/apache/commons/pool2/impl/DefaultEvictionPolicy.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-pool/api-2.4/org/apache/commons/pool2/impl/DefaultPooledObject.html ============================================================================== --- websites/production/commons/content/proper/commons-pool/api-2.4/org/apache/commons/pool2/impl/DefaultPooledObject.html (added) +++ websites/production/commons/content/proper/commons-pool/api-2.4/org/apache/commons/pool2/impl/DefaultPooledObject.html Wed May 27 15:48:33 2015 @@ -0,0 +1,810 @@ + + + + + + +DefaultPooledObject (Apache Commons Pool 2.4 API) + + + + + + + + + + + +
+
org.apache.commons.pool2.impl
+

Class DefaultPooledObject<T>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.commons.pool2.impl.DefaultPooledObject<T>
    • +
    +
  • +
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - the type of object in the pool
    +
    +
    +
    All Implemented Interfaces:
    +
    Comparable<PooledObject<T>>, PooledObject<T>
    +
    +
    +
    Direct Known Subclasses:
    +
    PooledSoftReference
    +
    +
    +
    +
    public class DefaultPooledObject<T>
    +extends Object
    +implements PooledObject<T>
    +
    This wrapper is used to track the additional information, such as state, for + the pooled objects. +

    + This class is intended to be thread-safe.

    +
    +
    Since:
    +
    2.0
    +
    Version:
    +
    $Revision: $
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      DefaultPooledObject(T object) +
      Create a new instance that wraps the provided object so that the pool can + track the state of the pooled object.
      +
      +
    • +
    + + +
  • +
+
+
+ +
+
+ + + + + +

Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.

+ + Propchange: websites/production/commons/content/proper/commons-pool/api-2.4/org/apache/commons/pool2/impl/DefaultPooledObject.html ------------------------------------------------------------------------------ svn:eol-style = native