Table of Contents

Class ConsulHeartbeatOptions

Namespace
Steeltoe.Discovery.Consul.Discovery
Assembly
Steeltoe.Discovery.Consul.dll

Configuration values used for the heartbeat checks

public class ConsulHeartbeatOptions
Inheritance
ConsulHeartbeatOptions
Inherited Members

Properties

Enabled

Gets or sets a value indicating whether heartbeats are enabled, defaults true

public bool Enabled { get; set; }

Property Value

bool

IntervalRatio

Gets or sets the interval ratio

public double IntervalRatio { get; set; }

Property Value

double

Ttl

Gets the time to live setting

public string Ttl { get; }

Property Value

string

TtlUnit

Gets or sets the time unit of the TtlValue, defaults = "s"

public string TtlUnit { get; set; }

Property Value

string

TtlValue

Gets or sets the time to live heartbeat time, defaults 30

public int TtlValue { get; set; }

Property Value

int