public class SimpleKeyGenerator extends Object implements KeyGenerator
SimpleKey of the parameters.
Unlike DefaultKeyGenerator, no collisions will occur with the keys
generated by this class. The returned SimpleKey object can be safely
used with a ConcurrentMapCache,
however, might not be suitable for all Cache
implementations.
SimpleKey,
CachingConfigurerpublic Object generate(Object target, Method method, Object... params)
KeyGeneratorgenerate 在接口中 KeyGeneratortarget - the target instancemethod - the method being calledparams - the method parameters (with any var-args expanded)Copyright © 2024. All rights reserved.