Class HystrixThreadPoolMetrics
- Namespace
- Steeltoe.CircuitBreaker.Hystrix
- Assembly
- Steeltoe.CircuitBreaker.HystrixBase.dll
public class HystrixThreadPoolMetrics : HystrixMetrics
- Inheritance
-
HystrixThreadPoolMetrics
- Inherited Members
-
Properties
AppendEventToBucket
public static Func<long[], HystrixCommandCompletion, long[]> AppendEventToBucket { get; }
Property Value
- Func<long[], HystrixCommandCompletion, long[]>
CounterAggregator
public static Func<long[], long[], long[]> CounterAggregator { get; }
Property Value
- Func<long[], long[], long[]>
CumulativeCountThreadsExecuted
public long CumulativeCountThreadsExecuted { get; }
Property Value
- long
CumulativeCountThreadsRejected
public long CumulativeCountThreadsRejected { get; }
Property Value
- long
CurrentActiveCount
public int CurrentActiveCount { get; }
Property Value
- int
CurrentCompletedTaskCount
public int CurrentCompletedTaskCount { get; }
Property Value
- int
CurrentCorePoolSize
public int CurrentCorePoolSize { get; }
Property Value
- int
CurrentLargestPoolSize
public int CurrentLargestPoolSize { get; }
Property Value
- int
CurrentMaximumPoolSize
public int CurrentMaximumPoolSize { get; }
Property Value
- int
CurrentPoolSize
public int CurrentPoolSize { get; }
Property Value
- int
CurrentQueueSize
public int CurrentQueueSize { get; }
Property Value
- int
CurrentTaskCount
public int CurrentTaskCount { get; }
Property Value
- int
Properties
public IHystrixThreadPoolOptions Properties { get; }
Property Value
- IHystrixThreadPoolOptions
RollingCountThreadsExecuted
public long RollingCountThreadsExecuted { get; }
Property Value
- long
RollingCountThreadsRejected
public long RollingCountThreadsRejected { get; }
Property Value
- long
RollingMaxActiveThreads
public long RollingMaxActiveThreads { get; }
Property Value
- long
TaskScheduler
public IHystrixTaskScheduler TaskScheduler { get; }
Property Value
- IHystrixTaskScheduler
ThreadPoolKey
public IHystrixThreadPoolKey ThreadPoolKey { get; }
Property Value
- IHystrixThreadPoolKey
Methods
GetCumulativeCount(ThreadPoolEventType)
public long GetCumulativeCount(ThreadPoolEventType @event)
Parameters
event
ThreadPoolEventType
Returns
- long
GetCumulativeCount(HystrixRollingNumberEvent)
public override long GetCumulativeCount(HystrixRollingNumberEvent @event)
Parameters
event
HystrixRollingNumberEvent
Returns
- long
GetCurrentConcurrencyThunk(IHystrixThreadPoolKey)
public static Func<int> GetCurrentConcurrencyThunk(IHystrixThreadPoolKey threadPoolKey)
Parameters
threadPoolKey
IHystrixThreadPoolKey
Returns
- Func<int>
GetInstance(IHystrixThreadPoolKey)
public static HystrixThreadPoolMetrics GetInstance(IHystrixThreadPoolKey key)
Parameters
key
IHystrixThreadPoolKey
Returns
- HystrixThreadPoolMetrics
GetInstance(IHystrixThreadPoolKey, IHystrixTaskScheduler, IHystrixThreadPoolOptions)
public static HystrixThreadPoolMetrics GetInstance(IHystrixThreadPoolKey key, IHystrixTaskScheduler taskScheduler, IHystrixThreadPoolOptions properties)
Parameters
key
IHystrixThreadPoolKey
taskScheduler
IHystrixTaskScheduler
properties
IHystrixThreadPoolOptions
Returns
- HystrixThreadPoolMetrics
GetInstances()
public static ICollection<HystrixThreadPoolMetrics> GetInstances()
Returns
- ICollection<HystrixThreadPoolMetrics>
GetRollingCount(ThreadPoolEventType)
public long GetRollingCount(ThreadPoolEventType @event)
Parameters
event
ThreadPoolEventType
Returns
- long
GetRollingCount(HystrixRollingNumberEvent)
public override long GetRollingCount(HystrixRollingNumberEvent @event)
Parameters
event
HystrixRollingNumberEvent
Returns
- long
MarkThreadCompletion()
public void MarkThreadCompletion()
MarkThreadExecution()
public void MarkThreadExecution()
MarkThreadRejection()
public void MarkThreadRejection()