You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hystrix-contrib/hystrix-javanica/README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ The return type of command method should be Future that indicates that a command
107
107
108
108
## Reactive Execution
109
109
110
-
To performe "Reactive Execution" you should return an instance of `Observable` in your command method as in the example below:
110
+
To perform "Reactive Execution" you should return an instance of `Observable` in your command method as in the example below:
111
111
112
112
```java
113
113
@HystrixCommand
@@ -330,7 +330,7 @@ If `userResource.getUserById(id);` throws an exception that type is _BadRequestE
330
330
331
331
It is worth noting that by default a caller will always get the root cause exception e.g. ``BadRequestException``, never ``HystrixBadRequestException`` or ``HystrixRuntimeException`` (except the case when executed code explicitly throws those exceptions).
332
332
333
-
Optionally this exception un-wraping can be disabled for ``HystrixRuntimeException`` by using ``raiseHystrixExceptions`` i.e. all exceptions that are not ignored are raised as the _cause_ of a ``HystrixRuntimeException``:
333
+
Optionally this exception un-wrapping can be disabled for ``HystrixRuntimeException`` by using ``raiseHystrixExceptions`` i.e. all exceptions that are not ignored are raised as the _cause_ of a ``HystrixRuntimeException``:
334
334
335
335
```java
336
336
@HystrixCommand(
@@ -433,7 +433,7 @@ private User getUserByIdCacheKeyMethod(String id);
433
433
```
434
434
**Cache key generator**
435
435
436
-
Jacanica has only one cache key generator **HystrixCacheKeyGenerator** that generates a _HystrixGeneratedCacheKey_ based on _CacheInvocationContext_. Implementation is thread-safe.
436
+
Javanica has only one cache key generator **HystrixCacheKeyGenerator** that generates a _HystrixGeneratedCacheKey_ based on _CacheInvocationContext_. Implementation is thread-safe.
437
437
Parameters of an annotated method are selected by the following rules:
438
438
- If no parameters are annotated with _@CacheKey_ then all parameters are included
439
439
- If one or more _@CacheKey_ annotations exist only those parameters with the _@CacheKey_ annotation are included
@@ -709,7 +709,7 @@ To set collapser [properties](https://github.com/Netflix/Hystrix/wiki/Configurat
709
709
Read more about Hystrix request collapsing [here] (https://github.com/Netflix/Hystrix/wiki/How-it-Works#wiki-RequestCollapsing)
Copy file name to clipboardExpand all lines: hystrix-contrib/hystrix-javanica/src/main/java/com/netflix/hystrix/contrib/javanica/command/AsyncResult.java
0 commit comments