Class: Cuboid::OptionGroups::Scheduler
- Inherits:
-
Cuboid::OptionGroup
- Object
- Cuboid::OptionGroup
- Cuboid::OptionGroups::Scheduler
- Defined in:
- lib/cuboid/option_groups/scheduler.rb
Overview
Holds options for RPC::Server::Scheduler servers.
Instance Attribute Summary collapse
-
#instance_port_range ⇒ Array<Integer>
Range of ports to use when spawning instances, first entry should be the lowest port number, last the max port number.
-
#ping_interval ⇒ Float
How regularly to check for scan statuses.
-
#url ⇒ String
URL of a RPC::Server::Scheduler.
Method Summary
Methods inherited from Cuboid::OptionGroup
#==, attr_accessor, attributes, #attributes, defaults, #defaults, #hash, inherited, #initialize, #merge, set_defaults, #to_h, #to_hash, #to_rpc_data, #update, #validate
Constructor Details
This class inherits a constructor from Cuboid::OptionGroup
Instance Attribute Details
#instance_port_range ⇒ Array<Integer>
Returns Range of ports to use when spawning instances, first entry should be the lowest port number, last the max port number.
15 16 17 |
# File 'lib/cuboid/option_groups/scheduler.rb', line 15 def instance_port_range @instance_port_range end |
#ping_interval ⇒ Float
Returns How regularly to check for scan statuses.
19 20 21 |
# File 'lib/cuboid/option_groups/scheduler.rb', line 19 def ping_interval @ping_interval end |
#url ⇒ String
Returns URL of a RPC::Server::Scheduler.
10 11 12 |
# File 'lib/cuboid/option_groups/scheduler.rb', line 10 def url @url end |