Class PingRule
Assembly: OpenSearch.Net.VirtualizedCluster.dll
Syntax
public class PingRule : RuleBase<PingRule>, IRule
Methods
|
Edit this page
View Source
FailAlways(RuleOption<Exception, int>)
Declaration
public PingRule FailAlways(RuleOption<Exception, int> errorState = null)
Parameters
Returns
|
Edit this page
View Source
Fails(RuleOption<AllTimes, int>, RuleOption<Exception, int>)
Declaration
public PingRule Fails(RuleOption<TimesHelper.AllTimes, int> times, RuleOption<Exception, int> errorState = null)
Parameters
Returns
|
Edit this page
View Source
SucceedAlways(int?)
Declaration
public PingRule SucceedAlways(int? validResponseCode = 200)
Parameters
Type |
Name |
Description |
int? |
validResponseCode |
|
Returns
|
Edit this page
View Source
Succeeds(RuleOption<AllTimes, int>, int?)
Declaration
public PingRule Succeeds(RuleOption<TimesHelper.AllTimes, int> times, int? validResponseCode = 200)
Parameters
Returns
Implements
Extension Methods