class Movie::Cluster::KeepMajoritySettings

Defined in:

movie/cluster/keep_majority.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_config(config : Movie::Config) : self #

[View source]
def self.new(stable_after : Time::Span = 5.seconds, check_interval : Time::Span = 250.milliseconds, down_all_when_unstable : Time::Span = 5.seconds, role : String | Nil = nil) #

[View source]

Instance Method Detail

def check_interval : Time::Span #

[View source]
def down_all_when_unstable : Time::Span #

[View source]
def role : String | Nil #

[View source]
def stable_after : Time::Span #

[View source]