public class HystrixContextScheduler
extends rx.Scheduler
Scheduler so that scheduled actions are wrapped with HystrixContexSchedulerAction so that
the HystrixRequestContext is properly copied across threads (if they are used by the Scheduler).| Constructor and Description |
|---|
HystrixContextScheduler(HystrixConcurrencyStrategy concurrencyStrategy,
HystrixThreadPool threadPool) |
HystrixContextScheduler(HystrixConcurrencyStrategy concurrencyStrategy,
HystrixThreadPool threadPool,
rx.functions.Func0<Boolean> shouldInterruptThread) |
HystrixContextScheduler(HystrixConcurrencyStrategy concurrencyStrategy,
rx.Scheduler scheduler) |
HystrixContextScheduler(rx.Scheduler scheduler) |
public HystrixContextScheduler(rx.Scheduler scheduler)
public HystrixContextScheduler(HystrixConcurrencyStrategy concurrencyStrategy, rx.Scheduler scheduler)
public HystrixContextScheduler(HystrixConcurrencyStrategy concurrencyStrategy, HystrixThreadPool threadPool)
public HystrixContextScheduler(HystrixConcurrencyStrategy concurrencyStrategy, HystrixThreadPool threadPool, rx.functions.Func0<Boolean> shouldInterruptThread)
Copyright © 2017. All Rights Reserved.