[
https://issues.apache.org/jira/browse/DIRECTMEMORY-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178341#comment-13178341
]
Raffaele P. Guidi commented on DIRECTMEMORY-43:
-----------------------------------------------
@maurizio it almost does, but it is called pointer because MemoryManager aim is
to have a (kind of) malloc() implementation that can be used in a cache service
but also in other cases (as the backend for a virtual file system, as someone
pointed out, or generally as a fast(er) byte buffer), so separation of concerns
should be applied (all things cache-related - eviction and expiry policies
included - into the CacheService and the lower level memory management in
MemoryService) @benoit it contains the class because it is needed for
protostuff serialization, but it could be not needed if the buffer is used as a
byte array (or directly as a ByteBuffer i.e. by a NIO server). Sure some order
should be done. Proposals?
> Cache should allow key objects instead of plain string
> ------------------------------------------------------
>
> Key: DIRECTMEMORY-43
> URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-43
> Project: Apache DirectMemory
> Issue Type: Improvement
> Reporter: Maurizio Cucchiara
> Assignee: Maurizio Cucchiara
> Attachments: DIRECTMEMORY-43.patch
>
>
> See http://goo.gl/D4SRN
--
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