Метод | Описание | |
---|---|---|
CapacityManager ( int throttleRetryCount, int throttleRetryCost, int throttleCost ) : System | ||
Dispose ( ) : void | ||
GetRetryCapacity ( string serviceURL ) : |
Ths method fetches the RetryCapacity for the given ServiceURL from CapacityManager.CapacityContainer
|
|
TryAcquireCapacity ( |
This method acquires a said retry capacity if the container has the capacity.
|
|
TryReleaseCapacity ( bool isRetryRequest, |
This method calls a method to release capacity back based on whether it was a successful response or a successful retry response. This is invoked by a retry request response.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
AddNewRetryCapacity ( string serviceURL ) : |
||
ReleaseCapacity ( int capacity, |
This method releases capacity back. This is invoked by the TryReleaseCapacity method.
|
|
TryGetRetryCapacity ( string key, |
public CapacityManager ( int throttleRetryCount, int throttleRetryCost, int throttleCost ) : System | ||
throttleRetryCount | int | |
throttleRetryCost | int | |
throttleCost | int | |
Результат | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public GetRetryCapacity ( string serviceURL ) : |
||
serviceURL | string | |
Результат |
public TryAcquireCapacity ( |
||
retryCapacity | Contains the RetryCapacity object for the said ServiceURL. | |
Результат | bool |
public TryReleaseCapacity ( bool isRetryRequest, |
||
isRetryRequest | bool | |
retryCapacity | Contains the RetryCapacity object for the said ServiceURL. | |
Результат | void |