SimpleKey of the parameters.
No collisions will occur with the keys generated by this class.
The returned SimpleKey object can be safely used with a
org., however,
might not be suitable for all org.
implementations.
SimpleKey, org.springframework.cache.annotation.CachingConfigurer
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | generate(Object
the target instance target, Method the method being called method, Object... the method parameters (with any var-args expanded) params)Implements org. |
| public static Object |
| SimpleKeyGenerator | back to summary |
|---|---|
| public SimpleKeyGenerator() | |
| generate | back to summary |
|---|---|
| public Object generate(Object target, Method method, Object... params) Implements org. Doc from org. Generate a key for the given method and its parameters. | |
| generateKey | back to summary |
|---|---|
| public static Object generateKey(Object... params) Generate a key based on the specified parameters. | |