Class: AWS::Flow::WorkerOptions
- Defined in:
- lib/aws/decider/options.rb
Overview
Options for Activity and Workflow workers.
Instance Attribute Summary collapse
-
#execution_workers ⇒ Object
The logger to use for the worker.
-
#logger ⇒ Object
The logger to use for the worker.
-
#poller_workers ⇒ Object
The logger to use for the worker.
Method Summary
Methods inherited from Options
#get_options, inherited, #initialize, #method_missing
Constructor Details
This class inherits a constructor from AWS::Flow::Options
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class AWS::Flow::Options
Instance Attribute Details
#execution_workers ⇒ Object
The logger to use for the worker.
109 110 111 112 113 114 115 116 |
# File 'lib/aws/decider/options.rb', line 109 class WorkerOptions < Options property(:logger, []) # At current, we only support one poller per worker # property(:poller_workers, [lambda(&:to_i)]) property(:execution_workers, [lambda(&:to_i)]) property(:use_forking, [lambda {|x| x == true}] ) default_classes << WorkerDefaults.new end |
#logger ⇒ Object
The logger to use for the worker.
109 110 111 112 113 114 115 116 |
# File 'lib/aws/decider/options.rb', line 109 class WorkerOptions < Options property(:logger, []) # At current, we only support one poller per worker # property(:poller_workers, [lambda(&:to_i)]) property(:execution_workers, [lambda(&:to_i)]) property(:use_forking, [lambda {|x| x == true}] ) default_classes << WorkerDefaults.new end |
#poller_workers ⇒ Object
The logger to use for the worker.
109 110 111 112 113 114 115 116 |
# File 'lib/aws/decider/options.rb', line 109 class WorkerOptions < Options property(:logger, []) # At current, we only support one poller per worker # property(:poller_workers, [lambda(&:to_i)]) property(:execution_workers, [lambda(&:to_i)]) property(:use_forking, [lambda {|x| x == true}] ) default_classes << WorkerDefaults.new end |