You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directmemory.apache.org by "Benoit Perroud (Updated) (JIRA)" <ji...@apache.org> on 2011/12/29 21:01:29 UTC
[jira] [Updated] (DIRECTMEMORY-48) Add OffHeapMemoryBuffer
interface and abstraction
[ https://issues.apache.org/jira/browse/DIRECTMEMORY-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Perroud updated DIRECTMEMORY-48:
---------------------------------------
Attachment: OffHeapMemoryBufferInterface.patch
OffHeapMemoryBuffer is changed to an interface.
AbstractOffHeapMemoryBuffer has been added
OffHeapMemoryBufferImpl is the existing implementation
MemoryManagement has a protected function instanciateOffHeapMemoryBuffer that can be easiy overridden.
Pointer has a new toString function that shows start-end offset and free/notfree info, getCapacity
> Add OffHeapMemoryBuffer interface and abstraction
> -------------------------------------------------
>
> Key: DIRECTMEMORY-48
> URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-48
> Project: Apache DirectMemory
> Issue Type: Improvement
> Reporter: Benoit Perroud
> Priority: Minor
> Attachments: OffHeapMemoryBufferInterface.patch
>
>
> In order to allow several different implementation of OffHeapMemoryBuffer, interface and abstraction could be good.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira