메소드 | 설명 | |
---|---|---|
Dispose ( ) : void | ||
DynamicThrottling ( int maxDegreeOfParallelism, int minDegreeOfParallelism, int penaltyAmount, int workFailedPenaltyAmount, int workCompletedParallelismGain, int intervalForRestoringDegreeOfParallelism ) : System |
Initializes a new instance of DynamicThrottling.
|
|
NotifyWorkCompleted ( ) : void | ||
NotifyWorkCompletedWithError ( ) : void | ||
NotifyWorkStarted ( ) : void | ||
Penalize ( ) : void | ||
Start ( |
||
WaitUntilAllowedParallelism ( |
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
메소드 | 설명 | |
---|---|---|
DecrementDegreesOfParallelism ( int count ) : void | ||
IncrementDegreesOfParallelism ( int count ) : void |
public DynamicThrottling ( int maxDegreeOfParallelism, int minDegreeOfParallelism, int penaltyAmount, int workFailedPenaltyAmount, int workCompletedParallelismGain, int intervalForRestoringDegreeOfParallelism ) : System | ||
maxDegreeOfParallelism | int | Maximum number of parallel jobs. |
minDegreeOfParallelism | int | Minimum number of parallel jobs. |
penaltyAmount | int | Number of degrees of parallelism to remove when penalizing slightly. |
workFailedPenaltyAmount | int | Number of degrees of parallelism to remove when work fails. |
workCompletedParallelismGain | int | Number of degrees of parallelism to restore on work completed. |
intervalForRestoringDegreeOfParallelism | int | Interval in milliseconds to restore 1 degree of parallelism. |
리턴 | System |
public Start ( |
||
cancellationToken | ||
리턴 | void |
public WaitUntilAllowedParallelism ( |
||
cancellationToken | ||
리턴 | void |