Class: Wurk::Swarm::Restart::Config

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

Instance Attribute Summary collapse

Instance Attribute Details

#backoff ⇒ Object

Returns the value of attribute backoff

Returns:

  • (Object) —

    the current value of backoff



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def backoff
  @backoff
end

#describe ⇒ Object

Returns the value of attribute describe

Returns:

  • (Object) —

    the current value of describe



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def describe
  @describe
end

#drain_timeout ⇒ Object

Returns the value of attribute drain_timeout

Returns:

  • (Object) —

    the current value of drain_timeout



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def drain_timeout
  @drain_timeout
end

#heartbeat ⇒ Object

Returns the value of attribute heartbeat

Returns:

  • (Object) —

    the current value of heartbeat



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def heartbeat
  @heartbeat
end

#heartbeat_wait ⇒ Object

Returns the value of attribute heartbeat_wait

Returns:

  • (Object) —

    the current value of heartbeat_wait



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def heartbeat_wait
  @heartbeat_wait
end

#kill ⇒ Object

Returns the value of attribute kill

Returns:

  • (Object) —

    the current value of kill



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def kill
  @kill
end

#logger ⇒ Object

Returns the value of attribute logger

Returns:

  • (Object) —

    the current value of logger



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def logger
  @logger
end

#now ⇒ Object

Returns the value of attribute now

Returns:

  • (Object) —

    the current value of now



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def now
  @now
end

#respawn ⇒ Object

Returns the value of attribute respawn

Returns:

  • (Object) —

    the current value of respawn



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def respawn
  @respawn
end

#restarted ⇒ Object

Returns the value of attribute restarted

Returns:

  • (Object) —

    the current value of restarted



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def restarted
  @restarted
end

#spawn ⇒ Object

Returns the value of attribute spawn

Returns:

  • (Object) —

    the current value of spawn



24
25
26
# File 'lib/wurk/swarm/restart.rb', line 24

def spawn
  @spawn
end