Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b6aaa4 commit d763deeCopy full SHA for d763dee
docs/high-availability/hystrix-request-cache.md
@@ -72,7 +72,7 @@ public class EshopApplication {
72
```
73
74
### command 重写 getCacheKey() 方法
75
-在 GetProductInfoCommand 中,重写 getCacheKey() 方法,这样的话,每一次请求的结果,都会放在 Hystrix 请求上下文中。下一个同一个 productId 的数据请求,直接取缓存,无须再调用 run() 方法。
+在 GetProductInfoCommand 中,重写 getCacheKey() 方法,这样的话,每一次请求的结果,都会放在 Hystrix 请求上下文中。下一次同一个 productId 的数据请求,直接取缓存,无须再调用 run() 方法。
76
77
```java
78
public class GetProductInfoCommand extends HystrixCommand<ProductInfo> {
0 commit comments