Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12033

MarshallableEntryFactory allow lazy marshalling of key/values

    Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.0.0.Final
    • Fix Version/s: None
    • Component/s: Loaders and Stores
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ryanemerson Ryan Emerson
                  Reporter:
                  ryanemerson Ryan Emerson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: