Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC42E90AB for ; Wed, 21 Sep 2011 07:20:46 +0000 (UTC) Received: (qmail 85805 invoked by uid 500); 21 Sep 2011 07:20:46 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 85729 invoked by uid 500); 21 Sep 2011 07:20:45 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 85709 invoked by uid 99); 21 Sep 2011 07:20:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 07:20:45 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.12.242.2] (HELO smtp6.freeserve.com) (80.12.242.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 07:20:37 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3j29.me.freeserve.com (SMTP Server) with ESMTP id E3B9F3000088 for ; Wed, 21 Sep 2011 09:20:15 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3j29.me.freeserve.com (SMTP Server) with ESMTP id D679730000A1 for ; Wed, 21 Sep 2011 09:20:15 +0200 (CEST) Received: from mail.homeinbox.net (unknown [2.29.25.11]) by mwinf3j29.me.freeserve.com (SMTP Server) with ESMTP id C599C3000088 for ; Wed, 21 Sep 2011 09:20:15 +0200 (CEST) X-ME-UUID: 20110921072015809.C599C3000088@mwinf3j29.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by mail.homeinbox.net (Postfix) with ESMTP id 74D8AEAAE7D for ; Wed, 21 Sep 2011 08:20:15 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mail.homeinbox.net ([127.0.0.1]) by localhost (mail.homeinbox.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mP2xd0h3CcAl for ; Wed, 21 Sep 2011 08:20:10 +0100 (BST) Received: from [192.168.23.205] (unknown [2.29.25.11]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.homeinbox.net (Postfix) with ESMTPSA id 7ED4DEAAE75 for ; Wed, 21 Sep 2011 08:20:10 +0100 (BST) References: <4E795192.10203@gmail.com> User-Agent: K-9 Mail for Android In-Reply-To: <4E795192.10203@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [pool] should addObject return a boolean? From: markt@apache.org Date: Wed, 21 Sep 2011 08:20:07 +0100 To: Commons Developers List Message-ID: <77b09591-5388-4e14-85da-a368f71ca9fc@email.android.com> Phil Steitz wrote: >When GKOP or GOP pools lack capacity, addObject does nothing. In >some cases (I am dealing with one now internally to GKOP), it would >be good to know if an instance was actually added or not. How about >changing the interface (both OP and KOP versions) to return a >boolean with true indicating that a new instance was actually >created and added to the pool? > >Phil > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >For additional commands, e-mail: dev-help@commons.apache.org +1 Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org