0
1
2
3
4
5
{0 => "DEAD", 1 => "STARTING", 2 => "ALIVE", 3 => "STOPPING", 4 => "STOPPED", 5 => "WARNING"}
Set.new([DEAD, STARTING, ALIVE, STOPPING, STOPPED, WARNING]).freeze