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

Document how DataContainer can store entries in different format than provided to Cache

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 9.1.1.Final, 9.2.0.Alpha1
    • 9.2.0.Beta1
    • Core
    • None

    Description

      Off-heap container entries contain some additional bytes (ASCII 1,2,1,4), which probably shouldn't be there. Besides additional consumption of memory, it can cause problem as entry put into the cache with cache API is not accessible via container API (which is available to the use), i.e. something like this will fail:

      cache.put(key, value);
      container = AbstractDelegatingCache.unwrapCache(cache).getAdvancedCache().getDataContainer();
      InternalCacheEntry entry = container.get(key);
      

      Attachments

        Issue Links

          Activity

            People

              wburns@redhat.com Will Burns
              vjuranek@redhat.com Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: