如何在Java7中使用“ConcurrentHashMap”或“Guava Caching”内部实现“lru_cache”注释?示例用法:
@lru_cache(maxsize=10000)
public String someIOHeavyMethod(String x){
String toBeReturned;
/*
* IO heavy operations to compute toBeReturned string
*/
return toBeReturned;
}