public class MultiConcurrencyStrategyDispatcher
extends com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
| Constructor and Description |
|---|
MultiConcurrencyStrategyDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMapping(String id) |
BlockingQueue<Runnable> |
getBlockingQueue(int maxQueueSize) |
<T> com.netflix.hystrix.strategy.concurrency.HystrixRequestVariable<T> |
getRequestVariable(com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableLifecycle<T> rv) |
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) |
com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy |
instance() |
void |
register(String id,
com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy strategy) |
void |
setUnderlying(com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy underlying) |
<T> Callable<T> |
wrapCallable(Callable<T> callable) |
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)
getThreadPool in class com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategypublic <T> com.netflix.hystrix.strategy.concurrency.HystrixRequestVariable<T> getRequestVariable(com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableLifecycle<T> rv)
getRequestVariable in class com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategypublic BlockingQueue<Runnable> getBlockingQueue(int maxQueueSize)
getBlockingQueue in class com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategypublic <T> Callable<T> wrapCallable(Callable<T> callable)
wrapCallable in class com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategypublic void register(String id, com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy strategy)
public boolean containsMapping(String id)
public void setUnderlying(com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy underlying)
public com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy instance()
Copyright © 2020 Avanza Bank AB. All rights reserved.