qianjava / ehcache-spring-annotations

Automatically exported from code.google.com/p/ehcache-spring-annotations
0 stars 0 forks source link

Excluding method param for cache key generation #74

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I am just using this first time. This may not be a issue may be what I doing is 
incorrect. please someone clarify.

here is my method....

@Cacheable(cacheName="fifteenMinCache")
public void loadImage(final HttpServletResponse response, @PartialCacheKey 
final String imageId) throws ResourceLoaderException {...

I want to cache based on only 'imageId' not on HttpServletResponse. I tried 
using the @TriggerRemove but ended up getting erros. Can you sometime advise 
how do i do this. Thanks.

Original issue reported on code.google.com by ananthku...@gmail.com on 14 Jun 2011 at 10:42

GoogleCodeExporter commented 8 years ago
That looks correct, can you please provide complete detail on your errors?

Original comment by eric.dalquist on 28 Jul 2011 at 3:19

GoogleCodeExporter commented 8 years ago
No followup information provided

Original comment by eric.dalquist on 20 Sep 2011 at 1:56