public class ConnectionMonitorSuccessThreshold extends Object
| Constructor and Description |
|---|
ConnectionMonitorSuccessThreshold() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
checksFailedPercent()
Get the maximum percentage of failed checks permitted for a test to evaluate as successful.
|
Integer |
roundTripTimeMs()
Get the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
|
ConnectionMonitorSuccessThreshold |
withChecksFailedPercent(Integer checksFailedPercent)
Set the maximum percentage of failed checks permitted for a test to evaluate as successful.
|
ConnectionMonitorSuccessThreshold |
withRoundTripTimeMs(Integer roundTripTimeMs)
Set the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
|
public Integer checksFailedPercent()
public ConnectionMonitorSuccessThreshold withChecksFailedPercent(Integer checksFailedPercent)
checksFailedPercent - the checksFailedPercent value to setpublic Integer roundTripTimeMs()
public ConnectionMonitorSuccessThreshold withRoundTripTimeMs(Integer roundTripTimeMs)
roundTripTimeMs - the roundTripTimeMs value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/