Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 58760 invoked from network); 8 Dec 2003 07:40:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Dec 2003 07:40:52 -0000 Received: (qmail 42538 invoked by uid 500); 8 Dec 2003 07:40:29 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 42493 invoked by uid 500); 8 Dec 2003 07:40:29 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Directory Developers List" Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 42479 invoked from network); 8 Dec 2003 07:40:29 -0000 Received: from unknown (HELO imf17aec.mail.bellsouth.net) (205.152.59.65) by daedalus.apache.org with SMTP; 8 Dec 2003 07:40:29 -0000 Received: from franklin ([65.82.164.51]) by imf17aec.mail.bellsouth.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031208074040.OZNG1909.imf17aec.mail.bellsouth.net@franklin> for ; Mon, 8 Dec 2003 02:40:40 -0500 From: "Alex Karasulu" To: "'Apache Directory Developers List'" Subject: [eve] BufferPool Implementation Date: Mon, 8 Dec 2003 02:40:35 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C3BD34.A84662C0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcO9XpCLSchByGmKSbmDHtMI8n36oA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-Id: <20031208074040.OZNG1909.imf17aec.mail.bellsouth.net@franklin> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C3BD34.A84662C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I finished off a simple buffer pool of direct memory buffers which I plan to use in the next component that starts reading input from the client channel. Before giving the links to the area where I created this stuff I thought it might be a good time to break down the structure of the repository for the eve portion of the project. Basically I will be dismantling some of the imported sandboxes and projects slowly to build the frontend and backend of the server using the new design. I will slowly move the code over into this new configuration: /ldap/eve frontend common event . backend . I've or will be basically separated out the logical parts of the frontend and the backend into separate directories. In there you'll find either api, spi or impl directories containing Mavenized projects. Some of the reasons for doing this are due to the way we handle classloaders in most containers. It will eventually make components more pluggable in the server. Anyway under the frontend/buffer directory are the 'spi' and 'impl' project directories for the BufferPool stuff. As you would suspect the 'spi' contains the interfaces and objects used to build a BufferPool and the 'impl' contains implementations of the BufferPool and components. Here's a peek at the spi: http://cvs.apache.org/viewcvs.cgi/incubator/directory/ldap/trunk/eve/fronten d/buffer/spi/src/java/org/apache/eve/buffer/?root=Apache-SVN Here's the impl stuff: http://cvs.apache.org/viewcvs.cgi/incubator/directory/ldap/trunk/eve/fronten d/buffer/impl/src/java/org/apache/eve/buffer/?root=Apache-SVN Oooh just looked at these links and I gotta do something about my tabs - sorry. I'm soliciting comments ;). Namely what do you think about the BufferPool interface itself here: http://cvs.apache.org/viewcvs.cgi/*checkout*/incubator/directory/ldap/trunk/ eve/frontend/buffer/spi/src/java/org/apache/eve/buffer/BufferPool.java?conte nt-type=text%2Fplain &rev=1390&root=Apache-SVN I could not find a good design pattern for this stuff so I implemented my own. If anyone knows of one out there let me know. Thanks, Alex ------=_NextPart_000_0000_01C3BD34.A84662C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I finished off a simple buffer pool of direct memory = buffers which I

plan to use in the next component that starts reading = input from the

client channel. 

 

Before giving the links to the area where I created = this stuff I thought

it might be a good time to break down the structure = of the repository

for the eve portion of the = project.

 

Basically I will be dismantling some of the imported sandboxes and

projects slowly to build the frontend and backend of = the server using

the new design.  I will slowly move the code = over into this new

configuration:

 

<top>/ldap/eve

frontend

    = common

    event

    = …

backend

    = …

 

I’ve or will be basically separated out the = logical parts of the frontend

and the backend into separate directories.  In = there you’ll find either

api, spi or impl directories containing Mavenized = projects.  Some of the

reasons for doing this are due to the way we handle classloaders in

most containers.  It will eventually make = components more pluggable

in the server.  Anyway under the frontend/buffer = directory are the ‘spi’

and ‘impl’ project directories for the = BufferPool stuff.  As you would

suspect the ‘spi’ contains the interfaces = and objects used to build a

BufferPool and the ‘impl’ contains implementations of the BufferPool

and components.

 

Here’s a peek at the = spi:

 

http://cvs.apache.org/viewcvs.cgi/incubator/directory/ldap/trunk/eve/fr= ontend/buffer/spi/src/java/org/apache/eve/buffer/?root=3DApache-SVN

 

Here’s the impl = stuff:

 

http://cvs.apache.org/viewcvs.cgi/incubator/directory/ldap/trunk/eve/f= rontend/buffer/impl/src/java/org/apache/eve/buffer/?root=3DApache-SVN=

 

Oooh just looked at these links and I gotta do = something about my tabs

       = sorry.

 

I’m soliciting comments ;).  Namely what = do you think about the BufferPool

interface itself here:

 

http://cvs.apache.org/viewcvs.cgi/*checkout*/incubator/directory/ldap/t= runk/eve/frontend/buffer/spi/src/java/org/apache/eve/buffer/BufferPool.ja= va?content-type=3Dtext%2Fplain&rev=3D1390&root=3DApache-SVN

 

I could not find a good design pattern for this stuff = so I implemented my own.

If anyone knows of one out there let me = know.

 

Thanks,

Alex

 

 

 

------=_NextPart_000_0000_01C3BD34.A84662C0--