HystrixCommandProperties { public HystrixProperty<String> executionIsolationThreadPoolKeyOverride() { return executionIsolationThreadPoolKeyOverride; } protected  HystrixCommandProperties(HystrixCommandKey key); protected  HystrixCommandProperties(HystrixCommandKey key, HystrixCommandProperties.Setter builder); protected  HystrixCommandProperties(HystrixCommandKey key, HystrixCommandProperties.Setter builder, String propertyPrefix); HystrixProperty<Boolean> circuitBreakerEnabled(); HystrixProperty<Integer> circuitBreakerErrorThresholdPercentage(); HystrixProperty<Boolean> circuitBreakerForceClosed(); HystrixProperty<Boolean> circuitBreakerForceOpen(); HystrixProperty<Integer> circuitBreakerRequestVolumeThreshold(); HystrixProperty<Integer> circuitBreakerSleepWindowInMilliseconds(); HystrixProperty<Integer> executionIsolationSemaphoreMaxConcurrentRequests(); HystrixProperty<ExecutionIsolationStrategy> executionIsolationStrategy(); HystrixProperty<Boolean> executionIsolationThreadInterruptOnTimeout(); HystrixProperty<Boolean> executionIsolationThreadInterruptOnFutureCancel(); HystrixProperty<String> executionIsolationThreadPoolKeyOverride(); @Deprecated //prefer {@link #executionTimeoutInMilliseconds} HystrixProperty<Integer> executionIsolationThreadTimeoutInMilliseconds(); HystrixProperty<Integer> executionTimeoutInMilliseconds(); HystrixProperty<Boolean> executionTimeoutEnabled(); HystrixProperty<Integer> fallbackIsolationSemaphoreMaxConcurrentRequests(); HystrixProperty<Boolean> fallbackEnabled(); HystrixProperty<Integer> metricsHealthSnapshotIntervalInMilliseconds(); HystrixProperty<Integer> metricsRollingPercentileBucketSize(); HystrixProperty<Boolean> metricsRollingPercentileEnabled(); HystrixProperty<Integer> metricsRollingPercentileWindow(); HystrixProperty<Integer> metricsRollingPercentileWindowInMilliseconds(); HystrixProperty<Integer> metricsRollingPercentileWindowBuckets(); HystrixProperty<Integer> metricsRollingStatisticalWindowInMilliseconds(); HystrixProperty<Integer> metricsRollingStatisticalWindowBuckets(); HystrixProperty<Boolean> requestCacheEnabled(); HystrixProperty<Boolean> requestLogEnabled(); static Setter Setter(); static Setter defaultSetter();  }
@Test public void testThreadPoolOnlyHasInstanceOverride() throws Exception { HystrixCommandProperties properties = new TestPropertiesCommand(TestKey.TEST, new HystrixCommandProperties.Setter(), "unitTestPrefix"); ConfigurationManager.getConfigInstance().setProperty("unitTestPrefix.command.default.threadPoolKeyOverride", 1234); assertEquals(null, properties.executionIsolationThreadPoolKeyOverride().get()); ConfigurationManager.getConfigInstance().setProperty("unitTestPrefix.command.TEST.threadPoolKeyOverride", "testPool"); assertEquals("testPool", properties.executionIsolationThreadPoolKeyOverride().get()); ConfigurationManager.getConfigInstance().clearProperty("unitTestPrefix.command.default.threadPoolKeyOverride"); ConfigurationManager.getConfigInstance().clearProperty("unitTestPrefix.command.TEST.threadPoolKeyOverride"); }