Class: Wurk::Swarm::Liveness::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/wurk/swarm/liveness.rb

Instance Attribute Summary collapse

Instance Attribute Details

#beats ⇒ Object

Returns the value of attribute beats

Returns:

  • (Object) —

    the current value of beats



39
40
41
# File 'lib/wurk/swarm/liveness.rb', line 39

def beats
  @beats
end

#boot_grace ⇒ Object

Returns the value of attribute boot_grace

Returns:

  • (Object) —

    the current value of boot_grace



39
40
41
# File 'lib/wurk/swarm/liveness.rb', line 39

def boot_grace
  @boot_grace
end

#check_interval ⇒ Object

Returns the value of attribute check_interval

Returns:

  • (Object) —

    the current value of check_interval



39
40
41
# File 'lib/wurk/swarm/liveness.rb', line 39

def check_interval
  @check_interval
end

#kill ⇒ Object

Returns the value of attribute kill

Returns:

  • (Object) —

    the current value of kill



39
40
41
# File 'lib/wurk/swarm/liveness.rb', line 39

def kill
  @kill
end

#kill_after ⇒ Object

Returns the value of attribute kill_after

Returns:

  • (Object) —

    the current value of kill_after



39
40
41
# File 'lib/wurk/swarm/liveness.rb', line 39

def kill_after
  @kill_after
end

#logger ⇒ Object

Returns the value of attribute logger

Returns:

  • (Object) —

    the current value of logger



39
40
41
# File 'lib/wurk/swarm/liveness.rb', line 39

def logger
  @logger
end

#now ⇒ Object

Returns the value of attribute now

Returns:

  • (Object) —

    the current value of now



39
40
41
# File 'lib/wurk/swarm/liveness.rb', line 39

def now
  @now
end

#timeout ⇒ Object

Returns the value of attribute timeout

Returns:

  • (Object) —

    the current value of timeout



39
40
41
# File 'lib/wurk/swarm/liveness.rb', line 39

def timeout
  @timeout
end