Class DestinationHealthTracker
Passive health bookkeeping and active-request counters for destination pools.
Inheritance
DestinationHealthTracker
Assembly: Titanium.Web.Proxy.dll
Syntax
public sealed class DestinationHealthTracker
Methods
|
Edit this page
View Source
GetActiveRequests(string)
Declaration
public long GetActiveRequests(string destinationId)
Parameters
| Type |
Name |
Description |
| string |
destinationId |
|
Returns
|
Edit this page
View Source
ReportFailure(string, IClusterManager?, int)
Declaration
public void ReportFailure(string destinationId, IClusterManager? manager, int unhealthyThreshold = 3)
Parameters
| Type |
Name |
Description |
| string |
destinationId |
|
| IClusterManager |
manager |
|
| int |
unhealthyThreshold |
|
|
Edit this page
View Source
ReportSuccess(string)
Declaration
public void ReportSuccess(string destinationId)
Parameters
| Type |
Name |
Description |
| string |
destinationId |
|
|
Edit this page
View Source
TrackRequest(string)
Declaration
public IDisposable TrackRequest(string destinationId)
Parameters
| Type |
Name |
Description |
| string |
destinationId |
|
Returns