From d763deeafe6a1f1329105edc48100ea414a94ec6 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Wed, 2 Jan 2019 18:51:37 +0800 Subject: [PATCH] docs: fix typo, fix #17 --- docs/high-availability/hystrix-request-cache.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/high-availability/hystrix-request-cache.md b/docs/high-availability/hystrix-request-cache.md index 9cc43cb..e8217e5 100644 --- a/docs/high-availability/hystrix-request-cache.md +++ b/docs/high-availability/hystrix-request-cache.md @@ -72,7 +72,7 @@ public class EshopApplication { ``` ### command 重写 getCacheKey() 方法 -在 GetProductInfoCommand 中,重写 getCacheKey() 方法,这样的话,每一次请求的结果,都会放在 Hystrix 请求上下文中。下一个同一个 productId 的数据请求,直接取缓存,无须再调用 run() 方法。 +在 GetProductInfoCommand 中,重写 getCacheKey() 方法,这样的话,每一次请求的结果,都会放在 Hystrix 请求上下文中。下一次同一个 productId 的数据请求,直接取缓存,无须再调用 run() 方法。 ```java public class GetProductInfoCommand extends HystrixCommand {