[infinispan-issues] [JBoss JIRA] (ISPN-1491) Provide methods to retrieve the CacheKey parameters

Galder Zamarreño (Updated) (JIRA) jira-events at lists.jboss.org
Mon Jan 9 17:21:15 EST 2012


     [ https://issues.jboss.org/browse/ISPN-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-1491:
-----------------------------------

    Fix Version/s:     (was: 5.1.0.CR3)

    
> Provide methods to retrieve the CacheKey parameters
> ---------------------------------------------------
>
>                 Key: ISPN-1491
>                 URL: https://issues.jboss.org/browse/ISPN-1491
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: CDI integration
>            Reporter: Kevin Pollet
>            Assignee: Kevin Pollet
>             Fix For: 5.1.0.FINAL
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list