]
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.