Class FixedKeyGenerator
java.lang.Object
org.springframework.retry.interceptor.FixedKeyGenerator
- All Implemented Interfaces:
MethodArgumentsKeyGenerator
- Author:
- Dave Syer
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FixedKeyGenerator
-
-
Method Details
-
getKey
Description copied from interface:MethodArgumentsKeyGenerator
Get a unique identifier for the item that can be used to cache it between calls if necessary, and then identify it later.- Specified by:
getKey
in interfaceMethodArgumentsKeyGenerator
- Parameters:
item
- the current method arguments (may be null if there are none).- Returns:
- a unique identifier.
-