1
緩存標籤我有兩個功能:第一用的Ehcache
public String doA(Integer userId, String someValue)
,我想緩存(同時考慮到功能帳戶參數),和第二
public String doB(Integer userId)
應該下降的函數高速緩存「 doA「爲當前userId。
Ehcache是否支持類似memcached tags或其他任何可以幫助我的東西?或者可能有人知道我可以如何使用ehcache annotations解決我的問題?