[infinispan-issues] [JBoss JIRA] (ISPN-12032) JCache cache loader should not require marshalling

Tristan Tarrant (Jira) issues at jboss.org
Thu Jun 25 04:45:31 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-12032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-12032:
-----------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> JCache cache loader should not require marshalling
> --------------------------------------------------
>
>                 Key: ISPN-12032
>                 URL: https://issues.redhat.com/browse/ISPN-12032
>             Project: Infinispan
>          Issue Type: Bug
>          Components: JCache, Loaders and Stores
>    Affects Versions: 11.0.0.Final, 10.1.8.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Major
>             Fix For: 11.0.1.Final
>
>
> {{JCacheLoaderAdapter}} wraps the value returned by JCache {{CacheLoader.load()}} using a  {{MarshalledEntryFactoryImpl.create()}} overload that eagerly marshalls the key+value+metadata. This is unnecessary work, because the created {{MarshallableEntryImpl}} only needs the key+value+metadata in storage format.
>  



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the infinispan-issues mailing list