incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish <paliwalash...@gmail.com>
Subject Re: Interface and abstraction for OffHeapBufferMemory ?
Date Thu, 29 Dec 2011 16:59:16 GMT
On Thu, Dec 29, 2011 at 10:20 PM, Benoit Perroud <benoit@noisette.ch> wrote:
> Hi,
>
> While working on another OffHeapBufferMemory implementation, I wonder
> if it could worth while adding an interface, an abstract and the
> actual implementation in order to extends it and switch implementation
> easily ?

+1

It would give a tunable or adaptable MemoryBuffer implementation, like
for a readonly use case where data once loaded shall never be mutated,
or another implementation that might use a different memory management
algorithm. All plug-n-play :)

>
> Thanks,
>
> Benoit.



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Mime
View raw message