[infinispan-issues] [JBoss JIRA] (ISPN-3460) Refactor the CacheEntry hierarchy

Dan Berindei (JIRA) issues at jboss.org
Thu Jun 28 03:45:00 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-3460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598121#comment-13598121 ] 

Dan Berindei commented on ISPN-3460:
------------------------------------

I'm not convinced we should have a {{Metadata}} instance every time. Personally I'd rather remove the custom metadata option, e.g. {{cache.put(key, value, new CustomMetadata()}}, and fit everything in the {{CacheEntry}} :)

> Refactor the CacheEntry hierarchy
> ---------------------------------
>
>                 Key: ISPN-3460
>                 URL: https://issues.jboss.org/browse/ISPN-3460
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core
>            Reporter: Mircea Markus
>            Assignee: William Burns
>            Priority: Minor
>
> ATM we keep the metadata information in 3 places: CacheValues, CacheEntries and Metadata. We should move everything in the Metadata and make the CacheValues and the CacheEntries reference it.
> Also look at MimeMetadataHelper in REST cache store...



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list