Class SeataHystrixConcurrencyStrategy
java.lang.Object
com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
com.alibaba.cloud.seata.feign.hystrix.SeataHystrixConcurrencyStrategy
public class SeataHystrixConcurrencyStrategy
extends com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
- Author:
- xiaojing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlockingQueue(int maxQueueSize) <T> com.netflix.hystrix.strategy.concurrency.HystrixRequestVariable<T>getRequestVariable(com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableLifecycle<T> rv) getThreadPool(com.netflix.hystrix.HystrixThreadPoolKey threadPoolKey, com.netflix.hystrix.HystrixThreadPoolProperties threadPoolProperties) getThreadPool(com.netflix.hystrix.HystrixThreadPoolKey threadPoolKey, com.netflix.hystrix.strategy.properties.HystrixProperty<Integer> corePoolSize, com.netflix.hystrix.strategy.properties.HystrixProperty<Integer> maximumPoolSize, com.netflix.hystrix.strategy.properties.HystrixProperty<Integer> keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue) <K> Callable<K>wrapCallable(Callable<K> c)
-
Constructor Details
-
SeataHystrixConcurrencyStrategy
public SeataHystrixConcurrencyStrategy()
-
-
Method Details
-
getThreadPool
public ThreadPoolExecutor getThreadPool(com.netflix.hystrix.HystrixThreadPoolKey threadPoolKey, com.netflix.hystrix.strategy.properties.HystrixProperty<Integer> corePoolSize, com.netflix.hystrix.strategy.properties.HystrixProperty<Integer> maximumPoolSize, com.netflix.hystrix.strategy.properties.HystrixProperty<Integer> keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue) - Overrides:
getThreadPoolin classcom.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
-
getThreadPool
public ThreadPoolExecutor getThreadPool(com.netflix.hystrix.HystrixThreadPoolKey threadPoolKey, com.netflix.hystrix.HystrixThreadPoolProperties threadPoolProperties) - Overrides:
getThreadPoolin classcom.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
-
getBlockingQueue
- Overrides:
getBlockingQueuein classcom.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
-
getRequestVariable
public <T> com.netflix.hystrix.strategy.concurrency.HystrixRequestVariable<T> getRequestVariable(com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableLifecycle<T> rv) - Overrides:
getRequestVariablein classcom.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
-
wrapCallable
- Overrides:
wrapCallablein classcom.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
-