Class RequestBatch<BatchReturnType, RequestResponseType, RequestArgumentType>
Inheritance
System.Object
RequestBatch<BatchReturnType, RequestResponseType, RequestArgumentType>
Assembly: Steeltoe.CircuitBreaker.HystrixBase.dll
Syntax
public class RequestBatch<BatchReturnType, RequestResponseType, RequestArgumentType> : object
Type Parameters
Name |
Description |
BatchReturnType |
|
RequestResponseType |
|
RequestArgumentType |
|
Constructors
|
Edit this page
View Source
RequestBatch(IHystrixCollapserOptions, HystrixCollapser<BatchReturnType, RequestResponseType, RequestArgumentType>, Int32)
Declaration
public RequestBatch(IHystrixCollapserOptions properties, HystrixCollapser<BatchReturnType, RequestResponseType, RequestArgumentType> commandCollapser, int maxBatchSize)
Parameters
Properties
|
Edit this page
View Source
Size
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Edit this page
View Source
ExecuteBatchIfNotAlreadyStarted()
Declaration
public void ExecuteBatchIfNotAlreadyStarted()
|
Edit this page
View Source
Offer(RequestArgumentType, CancellationToken)
Declaration
public CollapsedRequest<RequestResponseType, RequestArgumentType> Offer(RequestArgumentType arg, CancellationToken token)
Parameters
Type |
Name |
Description |
RequestArgumentType |
arg |
|
CancellationToken |
token |
|
Returns
|
Edit this page
View Source
Shutdown()
Declaration