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-codahale-metrics-publisher/src/main/java/com/netflix/hystrix/contrib/codahalemetricspublisher/HystrixCodaHaleMetricsPublisherCommand.java
More about Hystrix command properties [command](https://github.com/Netflix/Hystrix/wiki/Configuration#wiki-CommandExecution) and [fallback](https://github.com/Netflix/Hystrix/wiki/Configuration#wiki-CommandFallback)
359
359
360
360
ThreadPoolProperties can be set using @HystrixCommand's 'threadPoolProperties' like below:
Copy file name to clipboardexpand all lines: hystrix-contrib/hystrix-javanica/src/test/java/com/netflix/hystrix/contrib/javanica/test/spring/configuration/command/CommandPropertiesTest.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ public static class UserService {
Copy file name to clipboardexpand all lines: hystrix-contrib/hystrix-metrics-event-stream/src/main/java/com/netflix/hystrix/contrib/metrics/eventstream/HystrixMetricsPoller.java
Copy file name to clipboardexpand all lines: hystrix-contrib/hystrix-rx-netty-metrics-stream/src/main/java/com/netflix/hystrix/contrib/rxnetty/metricsstream/JsonMappers.java
Copy file name to clipboardexpand all lines: hystrix-contrib/hystrix-servo-metrics-publisher/src/main/java/com/netflix/hystrix/contrib/servopublisher/HystrixServoMetricsPublisherCommand.java
Copy file name to clipboardexpand all lines: hystrix-contrib/hystrix-yammer-metrics-publisher/src/main/java/com/netflix/hystrix/contrib/yammermetricspublisher/HystrixYammerMetricsPublisherCommand.java
* The {@link HystrixCommandGroupKey} is used to represent a common relationship between commands. For example, a library or team name, the system all related commands interact with,
86
86
* common business purpose etc.
87
-
* @param executionTimeoutInMilliseconds
88
-
* Time in milliseconds at which point the calling thread will timeout and unsubscribe from the command
Copy file name to clipboardexpand all lines: hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommandProperties.java
+20-15
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ public abstract class HystrixCommandProperties {
68
68
privatefinalHystrixProperty<Boolean> circuitBreakerForceOpen; // a property to allow forcing the circuit open (stopping all requests)
69
69
privatefinalHystrixProperty<Boolean> circuitBreakerForceClosed; // a property to allow ignoring errors and therefore never trip 'open' (ie. allow all traffic through)
70
70
privatefinalHystrixProperty<ExecutionIsolationStrategy> executionIsolationStrategy; // Whether a command should be executed in a separate thread or not.
71
-
privatefinalHystrixProperty<Integer> executionTimeoutInMilliseconds; // Timeout value in milliseconds for a command.
71
+
privatefinalHystrixProperty<Integer> executionTimeoutInMilliseconds; // Timeout value in milliseconds for a command
72
72
privatefinalHystrixProperty<String> executionIsolationThreadPoolKeyOverride; // What thread-pool this command should run in (if running on a separate thread).
73
73
privatefinalHystrixProperty<Integer> executionIsolationSemaphoreMaxConcurrentRequests; // Number of permits for execution semaphore
74
74
privatefinalHystrixProperty<Integer> fallbackIsolationSemaphoreMaxConcurrentRequests; // Number of permits for fallback semaphore
* Number of concurrent requests permitted to {@link HystrixCommand#getFallback()}. Requests beyond the concurrent limit will fail-fast and not attempt retrieving a fallback.
279
281
*
@@ -546,7 +548,7 @@ public Boolean getExecutionIsolationThreadInterruptOnTimeout() {
0 commit comments