Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 15610 invoked from network); 22 Dec 2010 14:43:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Dec 2010 14:43:17 -0000 Received: (qmail 3848 invoked by uid 500); 22 Dec 2010 14:43:17 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 3504 invoked by uid 500); 22 Dec 2010 14:43:17 -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 3496 invoked by uid 99); 22 Dec 2010 14:43:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Dec 2010 14:43:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simone.tripodi@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-wy0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Dec 2010 14:43:09 +0000 Received: by wyb38 with SMTP id 38so5085138wyb.30 for ; Wed, 22 Dec 2010 06:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=IzFWquHQPQnkUBRgsW8ud1eEnmZBNnKrNTREg8ZqgUg=; b=uMZfNuvCIIMH9Su5yvonIo/b6uNhBduF8w220WkD/TvKlqmHNuza/5DnqWcJxrvlvU pAGGoBnLpraJQ7D5c99CBG6GBXfplx5o1TCwHE7oBMCULxuUJG0YNSHx9cU1cJLWYmOO nOjF+01QUxXob06XI842miZcFkZst8VfSui1g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PtJPiZ/xIwWpFOZuDDvNl800xlk8ED4t82NYxl1ssg3b9Xqjeix3PZQXdrPlbZLi9t oQMkwVCp9ZWq7Ve23IqSFYULbVeyIOtKjwu0Lv93HvhH+ojKAEgiGRSrf2VSrijDcW0g rB/tsyFEHIy5m2axXwFqvUGT3c0VQPXO9fZyU= MIME-Version: 1.0 Received: by 10.227.54.4 with SMTP id o4mr4213981wbg.210.1293028969345; Wed, 22 Dec 2010 06:42:49 -0800 (PST) Received: by 10.227.69.148 with HTTP; Wed, 22 Dec 2010 06:42:49 -0800 (PST) Date: Wed, 22 Dec 2010 15:42:49 +0100 Message-ID: Subject: [pool] reorganizing pool2.impl package and new possible pool implementations From: Simone Tripodi To: Commons Developers List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi all mates, I'd like to propose a small stuff reorganization in the `impl` package that is growing up and we could arrange stuff in a cleaner way. I propose the following packages: org.apache.commons.pool2.impl |---- generic |---- reference |---- stack common stuff could be included directly under impl. Moreover since we've the SoftReference pool implementation, I propose to add a full set of java.lang.ref.Reference pool implementation, the current one could become an abstract class using data structures of java.lang.ref.Reference references, subclass just provide PhantomReference, SoftReference and WeakReference specialization. WDYT? Many thanks in advance for feedbacks/suggestions. Simo PS In the meantime, I'm taking care of removing synchronized methods and making fields volatile, please review when having spare time! :) Have a nice day, Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org