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

Provide methods to retrieve the CacheKey parameters

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CDI
    • Labels:
      None

      Description

      Currently, it's not possible to retrieve the parameter values composing the CacheKey (generated by JCache interceptors). For that, we could introduce two interfaces.

      • SimpleCacheKey<T> used when only one parameter is used as key. This interface could add the following method T getValue()
      • ComposedCacheKey used when the key is composed by more than one parameter. This interface could add the following method Object[] getValues()

      Here, we need to ensure that we are compliant with the specification.

        Attachments

          Activity

            People

            Assignee:
            kevinpollet Kévin Pollet (Inactive)
            Reporter:
            kevinpollet Kévin Pollet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: