Interface MethodArgumentsKeyGenerator
- All Known Implementing Classes:
FixedKeyGenerator
public interface MethodArgumentsKeyGenerator
Interface that allows method parameters to be identified and tagged by a unique key.
- Author:
- Dave Syer
-
Method Summary
-
Method Details
-
getKey
Get a unique identifier for the item that can be used to cache it between calls if necessary, and then identify it later.- Parameters:
item
- the current method arguments (may be null if there are none).- Returns:
- a unique identifier.
-