Class: DispatchPolicy::Config
- Inherits:
-
Struct
- Object
- Struct
- DispatchPolicy::Config
- Defined in:
- lib/dispatch_policy.rb
Instance Attribute Summary collapse
-
#admin_partition_limit ⇒ Object
Returns the value of attribute admin_partition_limit.
-
#batch_size ⇒ Object
Returns the value of attribute batch_size.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#lease_duration ⇒ Object
Returns the value of attribute lease_duration.
-
#partition_idle_ttl ⇒ Object
Returns the value of attribute partition_idle_ttl.
-
#round_robin_quantum ⇒ Object
Returns the value of attribute round_robin_quantum.
-
#tick_max_duration ⇒ Object
Returns the value of attribute tick_max_duration.
-
#tick_sleep ⇒ Object
Returns the value of attribute tick_sleep.
-
#tick_sleep_busy ⇒ Object
Returns the value of attribute tick_sleep_busy.
Instance Attribute Details
#admin_partition_limit ⇒ Object
Returns the value of attribute admin_partition_limit
10 11 12 |
# File 'lib/dispatch_policy.rb', line 10 def admin_partition_limit @admin_partition_limit end |
#batch_size ⇒ Object
Returns the value of attribute batch_size
10 11 12 |
# File 'lib/dispatch_policy.rb', line 10 def batch_size @batch_size end |
#enabled ⇒ Object
Returns the value of attribute enabled
10 11 12 |
# File 'lib/dispatch_policy.rb', line 10 def enabled @enabled end |
#lease_duration ⇒ Object
Returns the value of attribute lease_duration
10 11 12 |
# File 'lib/dispatch_policy.rb', line 10 def lease_duration @lease_duration end |
#partition_idle_ttl ⇒ Object
Returns the value of attribute partition_idle_ttl
10 11 12 |
# File 'lib/dispatch_policy.rb', line 10 def partition_idle_ttl @partition_idle_ttl end |
#round_robin_quantum ⇒ Object
Returns the value of attribute round_robin_quantum
10 11 12 |
# File 'lib/dispatch_policy.rb', line 10 def round_robin_quantum @round_robin_quantum end |
#tick_max_duration ⇒ Object
Returns the value of attribute tick_max_duration
10 11 12 |
# File 'lib/dispatch_policy.rb', line 10 def tick_max_duration @tick_max_duration end |
#tick_sleep ⇒ Object
Returns the value of attribute tick_sleep
10 11 12 |
# File 'lib/dispatch_policy.rb', line 10 def tick_sleep @tick_sleep end |
#tick_sleep_busy ⇒ Object
Returns the value of attribute tick_sleep_busy
10 11 12 |
# File 'lib/dispatch_policy.rb', line 10 def tick_sleep_busy @tick_sleep_busy end |