public HystrixThreadPoolDefault(HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolProperties.Setter propertiesDefaults) { this.properties = HystrixPropertiesFactory.getThreadPoolProperties(threadPoolKey, propertiesDefaults); HystrixConcurrencyStrategy concurrencyStrategy = HystrixPlugins.getInstance().getConcurrencyStrategy(); this.queueSize = properties.maxQueueSize().get(); this.metrics = HystrixThreadPoolMetrics.getInstance(threadPoolKey, concurrencyStrategy.getThreadPool(threadPoolKey, properties), properties); this.threadPool = this.metrics.getThreadPool(); this.queue = this.threadPool.getQueue(); /* strategy: HystrixMetricsPublisherThreadPool */ HystrixMetricsPublisherFactory.createOrRetrievePublisherForThreadPool(threadPoolKey, this.metrics, this.properties); }
public static HystrixThreadPoolProperties getThreadpoolProperties(TenacityPropertyKey key) { return HystrixPropertiesFactory.getThreadPoolProperties(key, null); }
public static HystrixThreadPoolProperties getThreadpoolProperties(TenacityPropertyKey key) { return HystrixPropertiesFactory.getThreadPoolProperties(key, null); }
public static HystrixThreadPoolProperties getThreadpoolProperties(TenacityPropertyKey key) { return HystrixPropertiesFactory.getThreadPoolProperties(key, null); }
public static HystrixThreadPoolProperties getThreadpoolProperties(TenacityPropertyKey key) { return HystrixPropertiesFactory.getThreadPoolProperties(key, null); }
public HystrixThreadPoolProperties getThreadpoolProperties() { return HystrixPropertiesFactory.getThreadPoolProperties(getThreadPoolKey(), null); }
public HystrixThreadPoolProperties getThreadpoolProperties() { return HystrixPropertiesFactory.getThreadPoolProperties(getThreadPoolKey(), null); }
public HystrixThreadPoolProperties getThreadpoolProperties() { return HystrixPropertiesFactory.getThreadPoolProperties(getThreadPoolKey(), null); }
public HystrixThreadPoolProperties getThreadpoolProperties() { return HystrixPropertiesFactory.getThreadPoolProperties(getThreadPoolKey(), null); }
public HystrixThreadPoolDefault(HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolProperties.Setter propertiesDefaults) { this.properties = HystrixPropertiesFactory.getThreadPoolProperties(threadPoolKey, propertiesDefaults); HystrixConcurrencyStrategy concurrencyStrategy = HystrixPlugins.getInstance().getConcurrencyStrategy(); this.queueSize = properties.maxQueueSize().get(); this.metrics = HystrixThreadPoolMetrics.getInstance(threadPoolKey, concurrencyStrategy.getThreadPool(threadPoolKey, properties), properties); this.threadPool = this.metrics.getThreadPool(); this.queue = this.threadPool.getQueue(); /* strategy: HystrixMetricsPublisherThreadPool */ HystrixMetricsPublisherFactory.createOrRetrievePublisherForThreadPool(threadPoolKey, this.metrics, this.properties); }