Class: Storm::RebalanceOptions
- Inherits:
-
Object
- Object
- Storm::RebalanceOptions
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/storm/thrift/storm_types.rb
Constant Summary collapse
- WAIT_SECS =
1
- NUM_WORKERS =
2
- NUM_EXECUTORS =
3
- FIELDS =
{ WAIT_SECS => {:type => ::Thrift::Types::I32, :name => 'wait_secs', :optional => true}, NUM_WORKERS => {:type => ::Thrift::Types::I32, :name => 'num_workers', :optional => true}, NUM_EXECUTORS => {:type => ::Thrift::Types::MAP, :name => 'num_executors', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I32}, :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
748 |
# File 'lib/storm/thrift/storm_types.rb', line 748 def struct_fields; FIELDS; end |
#validate ⇒ Object
750 751 |
# File 'lib/storm/thrift/storm_types.rb', line 750 def validate end |