Class: CadenceThrift::RetryPolicy

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/gen/thrift/shared_types.rb,
lib/gen/thrift/shared_types.rb

Constant Summary collapse

INITIALINTERVALINSECONDS =
10
BACKOFFCOEFFICIENT =
20
MAXIMUMINTERVALINSECONDS =
30
MAXIMUMATTEMPTS =
40
NONRETRIABLEERRORREASONS =
50
EXPIRATIONINTERVALINSECONDS =
60
FIELDS =
{
  INITIALINTERVALINSECONDS => {:type => ::Thrift::Types::I32, :name => 'initialIntervalInSeconds', :optional => true},
  BACKOFFCOEFFICIENT => {:type => ::Thrift::Types::DOUBLE, :name => 'backoffCoefficient', :optional => true},
  MAXIMUMINTERVALINSECONDS => {:type => ::Thrift::Types::I32, :name => 'maximumIntervalInSeconds', :optional => true},
  MAXIMUMATTEMPTS => {:type => ::Thrift::Types::I32, :name => 'maximumAttempts', :optional => true},
  NONRETRIABLEERRORREASONS => {:type => ::Thrift::Types::LIST, :name => 'nonRetriableErrorReasons', :element => {:type => ::Thrift::Types::STRING}, :optional => true},
  EXPIRATIONINTERVALINSECONDS => {:type => ::Thrift::Types::I32, :name => 'expirationIntervalInSeconds', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



4552
# File 'lib/gen/thrift/shared_types.rb', line 4552

def struct_fields; FIELDS; end

#validateObject



4554
4555
# File 'lib/gen/thrift/shared_types.rb', line 4554

def validate
end