enum Movie::Cluster::SplitBrainState

Defined in:

movie/cluster/split_brain.cr

Enum Members

Idle = 0
Stabilizing = 1
Acquiring = 2
Holding = 3
Surviving = 4
Protected = 5
ShuttingDown = 6

Instance Method Summary

Instance Method Detail

def acquiring? #

Returns true if this enum value equals Acquiring


[View source]
def holding? #

Returns true if this enum value equals Holding


[View source]
def idle? #

Returns true if this enum value equals Idle


[View source]
def protected? #

Returns true if this enum value equals Protected


[View source]
def shutting_down? #

Returns true if this enum value equals ShuttingDown


[View source]
def stabilizing? #

Returns true if this enum value equals Stabilizing


[View source]
def surviving? #

Returns true if this enum value equals Surviving


[View source]