Class God::Watch
In: lib/god/watch.rb
Parent: Base

Methods

Constants

VALID_STATES = [:init, :up, :start, :restart]

Attributes

behaviors  [RW]  api
grace  [RW]  config
interval  [RW]  config
metrics  [RW]  api
mutex  [RW]  internal
name  [RW]  config
restart  [RW]  config
start  [RW]  config
state  [RW]  config
stop  [RW]  config

Public Class methods

Public Instance methods

Schedule all poll conditions and register all condition events

Move from one state to another

Define a transition handler which consists of a set of conditions

[Validate]