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

Provide methods to retrieve the CacheKey parameters

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Major
    • None
    • None
    • CDI
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: