consumer配置：
    <dubbo:reference id="demoService" check="false" interface="com.alibaba.dubbo.demo.DemoService">
        <dubbo:method name="sayHello" timeout="60000" **cache="threadlocal"**/>
    </dubbo:reference>

在执行的过程中，我们发现其实并不会创建ThreadlocalCache，而是用的LruCache，原因是在
![image](https://user-images.githubusercontent.com/14085645/36060257-e63276f2-0e80-11e8-9da7-36e41c7ef23a.png)
可以看到，当将cache配置在方法上而不是服务上的时候，传入的url只有"method.cache"参数而没有"cache"参数，但是CacheFactory$Adaptive这个类并没有作区分。
@Test
    public void testCache() throws Exception {
        ServiceConfig<CacheService> service = new ServiceConfig<CacheService>();
        service.setApplication(new ApplicationConfig("cache-provider"));
        service.setRegistry(new RegistryConfig("N/A"));
        service.setProtocol(new ProtocolConfig("dubbo", 29582));
        service.setInterface(CacheService.class.getName());
        service.setRef(new CacheServiceImpl());
        service.export();
        try {
            ReferenceConfig<CacheService> reference = new ReferenceConfig<CacheService>();
            reference.setApplication(new ApplicationConfig("cache-consumer"));
            reference.setInterface(CacheService.class);
            reference.setUrl("dubbo://127.0.0.1:29582?scope=remote&cache=true");
            CacheService cacheService = reference.get();
            try {