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

MarshallableEntryFactory allow lazy marshalling of key/values

XMLWordPrintable

      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.

            remerson@redhat.com Ryan Emerson
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: