Ryan Emerson created ISPN-12033:
-----------------------------------
Summary: MarshallableEntryFactory allow lazy marshalling of key/values
Key: ISPN-12033
URL:
https://issues.redhat.com/browse/ISPN-12033
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 11.0.0.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Currently it's not possible to create a {{MarshallableEntry}} via the
{{MarshallableEntryFactory}} without eagerly marshalling the key, value and metadata. The
intention of this was to ensure that async writes to the cache store fail-fast, opposed to
on one of the async threads where the cache put would not fail. However, this also means
that when utilising a local embedded jcache instance with the {{JCacheLoaderAdapter}}
it's necessary for the key/value to be marshalled.
We should create a new method {{MarshallableEntryFactory#createLazily(Object key, Object
value)}} to allow for lazy marshalling in these circumstances.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)