接口 MethodArgumentsKeyGenerator
- 所有已知实现类:
FixedKeyGenerator
public interface MethodArgumentsKeyGenerator
Interface that allows method parameters to be identified and tagged by a unique key.
- 从以下版本开始:
- 4.0
- 作者:
- Dave Syer
-
方法概要
-
方法详细资料
-
getKey
Get a unique identifier for the item that can be used to cache it between calls if necessary, and then identify it later.- 参数:
item
- the current method arguments (may be null if there are none).- 返回:
- a unique identifier.
-