Package 

Class MethodNameArgsKeyGenerator

  • All Implemented Interfaces:
    org.springframework.cache.interceptor.KeyGenerator

    
    public final class MethodNameArgsKeyGenerator
     implements KeyGenerator
                        

    基于方法名和参数的缓存键生成器。

    • 生成以方法名为路径,以参数为查询参数的Url格式的键。

    • 示例:"/findAll", "/findByName?name=Windea"

    • Method Summary

      Modifier and Type Method Description
      Object generate(Object target, Method method, Object configParams)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait