private static HystrixCommandProperties initCommandProperties(HystrixCommandKey commandKey, HystrixPropertiesStrategy propertiesStrategy, HystrixCommandProperties.Setter commandPropertiesDefaults) { if (propertiesStrategy == null) { return HystrixPropertiesFactory.getCommandProperties(commandKey, commandPropertiesDefaults); } else { // used for unit testing return propertiesStrategy.getCommandProperties(commandKey, commandPropertiesDefaults); } }
public static HystrixCommandProperties getCommandProperties(TenacityPropertyKey key) { return HystrixPropertiesFactory.getCommandProperties(key, null); }
public static HystrixCommandProperties getCommandProperties(TenacityPropertyKey key) { return HystrixPropertiesFactory.getCommandProperties(key, null); }
public static HystrixCommandProperties getCommandProperties(TenacityPropertyKey key) { return HystrixPropertiesFactory.getCommandProperties(key, null); }
public static HystrixCommandProperties getCommandProperties(TenacityPropertyKey key) { return HystrixPropertiesFactory.getCommandProperties(key, null); }
private static HystrixCommandProperties initCommandProperties(HystrixCommandKey commandKey, HystrixPropertiesStrategy propertiesStrategy, HystrixCommandProperties.Setter commandPropertiesDefaults) { if (propertiesStrategy == null) { return HystrixPropertiesFactory.getCommandProperties(commandKey, commandPropertiesDefaults); } else { // used for unit testing return propertiesStrategy.getCommandProperties(commandKey, commandPropertiesDefaults); } }
public HystrixCommandProperties getCommandProperties() { return HystrixPropertiesFactory.getCommandProperties(getCommandKey(), null); }
public HystrixCommandProperties getCommandProperties() { return HystrixPropertiesFactory.getCommandProperties(getCommandKey(), null); }
public HystrixCommandProperties getCommandProperties() { return HystrixPropertiesFactory.getCommandProperties(getCommandKey(), null); }
public HystrixCommandProperties getCommandProperties() { return HystrixPropertiesFactory.getCommandProperties(getCommandKey(), null); }
public KumuluzHystrixGenericCommand(HystrixCommandConfiguration configuration, InvocationContext invocationContext, RequestContext requestContext, ExecutionMetadata metadata) { super(configuration.getGroupKey(), configuration.getCommandKey(), configuration.getThreadPoolKey(), SuccessThresholdCircuitBreaker.CustomCbFactory.getInstance(configuration.getCommandKey(), configuration.getGroupKey(), HystrixPropertiesFactory.getCommandProperties(configuration.getCommandKey(), null), HystrixCommandMetrics.getInstance(configuration.getCommandKey(), configuration.getGroupKey(), configuration.getThreadPoolKey(), HystrixPropertiesFactory.getCommandProperties(configuration.getCommandKey(), null)), metadata, metadata.getCbMetricsCollection(invocationContext.getMethod().getName()).orElse(null)), null, null, null, null, null, null, null, null); this.invocationContext = invocationContext; this.requestContext = requestContext; this.metadata = metadata; this.bulkheadMetricsCollection = metadata.getBulkheadMetricsCollection(invocationContext.getMethod().getName()) .orElse(null); }