Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39219

Cache APIs do not support bulk operations from JSR-107

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.0, 11.0
    • Component/s: Kernel
    • Labels:
    • 10 status:
      Resolved
    • Previous Issue Keys:
      KNL-1246

      Description

      See KNL-1162
      The bulk operations which are part of JSR-107 are not supported in the current Cache API in 10. This was done to make it easier to be compatible with existing code and with distributed caching systems, however, it looks like pretty much every distributed cache supports bulk operations and they are typically substantially faster so adding those into the API would likely help with performance when they are used in the future.

      This is also needed to make the new security cache more efficient.

      Methods:
      Map<K, V> getAll(Set<? extends K> keys);
      void putAll(java.util.Map<? extends K, ? extends V> map);
      void removeAll(Set<? extends K> keys);
      void removeAll();

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aaronz Aaron Zeckoski (Inactive)
                  Reporter:
                  aaronz Aaron Zeckoski (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code