接口 KeyGenerator
- 所有已知实现类:
SimpleKeyGenerator
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Cache key generator. Used for creating a key based on the given method
(used as context) and its parameters.
- 从以下版本开始:
- 4.0
- 作者:
- Costin Leau, Chris Beams, Phillip Webb
-
方法概要
-
方法详细资料
-
generate
Generate a key for the given method and its parameters.- 参数:
target- the target instancemethod- the method being calledparams- the method parameters (with any var-args expanded)- 返回:
- a generated key
-