[
https://issues.apache.org/jira/browse/DIRECTMEMORY-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209276#comment-13209276
]
Tommaso Teofili edited comment on DIRECTMEMORY-43 at 2/17/12 11:19 AM:
-----------------------------------------------------------------------
bq. didn't find a test which documents the need of this case.
If you take a look at the integrations/solr module you can find the testPut()
method which does:
QueryResultKey queryResultKey =...
DocValues docValues = ...
solrOffHeapCache.put( queryResultKey, docValues );
inside SolrOffHeapCacheTest.
The SolrCache<K,V> interface has generics so the impl using DM is
SolrOffHeapCache<K,V> and consequently it'd be very good if we could have
coherent behavior in the underlying DM Cache
was (Author: teofili):
bq . didn't find a test which documents the need of this case.
If you take a look at the integrations/solr module you can find the testPut()
method which does:
QueryResultKey queryResultKey =...
DocValues docValues = ...
solrOffHeapCache.put( queryResultKey, docValues );
inside SolrOffHeapCacheTest.
The SolrCache<K,V> interface has generics so the impl using DM is
SolrOffHeapCache<K,V> and consequently it'd be very good if we could have
coherent behavior in the underlying DM Cache
> 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