org.springframework.cache.support
Class DefaultKeyGenerator
java.lang.Object
org.springframework.cache.support.DefaultKeyGenerator
- All Implemented Interfaces:
- KeyGenerator<Object>
public class DefaultKeyGenerator
- extends Object
- implements KeyGenerator<Object>
Default key generator. Computes a resulting key based on the hashcode of the
given parameters.
- Author:
- Costin Leau
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultKeyGenerator
public DefaultKeyGenerator()
extract
public Object extract(Method method,
Object... params)
- Specified by:
extract in interface KeyGenerator<Object>