Class: Google::Gax::BackoffSettings

Inherits:
Struct
  • Object
show all
Defined in:
lib/google/gax/settings.rb

Overview

Parameters to the exponential backoff algorithm for retrying.

Instance Attribute Summary collapse

Instance Attribute Details

#initial_retry_delay_millisObject

Returns the value of attribute initial_retry_delay_millis

Returns:

  • (Object)

    the current value of initial_retry_delay_millis



201
202
203
# File 'lib/google/gax/settings.rb', line 201

def initial_retry_delay_millis
  @initial_retry_delay_millis
end

#initial_rpc_timeout_millisObject

Returns the value of attribute initial_rpc_timeout_millis

Returns:

  • (Object)

    the current value of initial_rpc_timeout_millis



201
202
203
# File 'lib/google/gax/settings.rb', line 201

def initial_rpc_timeout_millis
  @initial_rpc_timeout_millis
end

#max_retry_delay_millisObject

Returns the value of attribute max_retry_delay_millis

Returns:

  • (Object)

    the current value of max_retry_delay_millis



201
202
203
# File 'lib/google/gax/settings.rb', line 201

def max_retry_delay_millis
  @max_retry_delay_millis
end

#max_rpc_timeout_millisObject

Returns the value of attribute max_rpc_timeout_millis

Returns:

  • (Object)

    the current value of max_rpc_timeout_millis



201
202
203
# File 'lib/google/gax/settings.rb', line 201

def max_rpc_timeout_millis
  @max_rpc_timeout_millis
end

#retry_delay_multiplierObject

Returns the value of attribute retry_delay_multiplier

Returns:

  • (Object)

    the current value of retry_delay_multiplier



201
202
203
# File 'lib/google/gax/settings.rb', line 201

def retry_delay_multiplier
  @retry_delay_multiplier
end

#rpc_timeout_multiplierObject

Returns the value of attribute rpc_timeout_multiplier

Returns:

  • (Object)

    the current value of rpc_timeout_multiplier



201
202
203
# File 'lib/google/gax/settings.rb', line 201

def rpc_timeout_multiplier
  @rpc_timeout_multiplier
end

#total_timeout_millisObject

Returns the value of attribute total_timeout_millis

Returns:

  • (Object)

    the current value of total_timeout_millis



201
202
203
# File 'lib/google/gax/settings.rb', line 201

def total_timeout_millis
  @total_timeout_millis
end