Class HystrixSyncTaskScheduler
Inheritance
System.Object
HystrixSyncTaskScheduler
Assembly: Steeltoe.CircuitBreaker.HystrixBase.dll
Syntax
public class HystrixSyncTaskScheduler : HystrixTaskScheduler, IHystrixTaskScheduler
Constructors
|
Edit this page
View Source
HystrixSyncTaskScheduler(IHystrixThreadPoolOptions)
Declaration
public HystrixSyncTaskScheduler(IHystrixThreadPoolOptions options)
Parameters
Properties
|
Edit this page
View Source
CurrentQueueSize
Declaration
public override int CurrentQueueSize { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Edit this page
View Source
IsQueueSpaceAvailable
Declaration
public override bool IsQueueSpaceAvailable { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
|
Edit this page
View Source
GetScheduledTasks()
Declaration
protected override IEnumerable<Task> GetScheduledTasks()
Returns
Type |
Description |
IEnumerable<Task> |
|
|
Edit this page
View Source
QueueTask(Task)
Declaration
protected override void QueueTask(Task task)
Parameters
Type |
Name |
Description |
Task |
task |
|
|
Edit this page
View Source
SetupWorkQueues(Int32)
Declaration
protected void SetupWorkQueues(int size)
Parameters
Type |
Name |
Description |
System.Int32 |
size |
|
|
Edit this page
View Source
StartThreadPoolWorker()
Declaration
protected virtual void StartThreadPoolWorker()
|
Edit this page
View Source
StartThreadPoolWorker(HystrixSyncTaskScheduler.ThreadTaskQueue)
Declaration
protected virtual void StartThreadPoolWorker(HystrixSyncTaskScheduler.ThreadTaskQueue input)
Parameters
|
Edit this page
View Source
TryAddToAny(Task)
Declaration
protected virtual bool TryAddToAny(Task task)
Parameters
Type |
Name |
Description |
Task |
task |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
TryExecuteTaskInline(Task, Boolean)
Declaration
protected override bool TryExecuteTaskInline(Task task, bool prevQueued)
Parameters
Type |
Name |
Description |
Task |
task |
|
System.Boolean |
prevQueued |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
IDisposable