Class: DispatchPolicy::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/dispatch_policy.rb

Instance Attribute Summary collapse

Instance Attribute Details

#admin_partition_limitObject

Returns the value of attribute admin_partition_limit

Returns:

  • (Object)

    the current value of admin_partition_limit



10
11
12
# File 'lib/dispatch_policy.rb', line 10

def admin_partition_limit
  @admin_partition_limit
end

#batch_sizeObject

Returns the value of attribute batch_size

Returns:

  • (Object)

    the current value of batch_size



10
11
12
# File 'lib/dispatch_policy.rb', line 10

def batch_size
  @batch_size
end

#enabledObject

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



10
11
12
# File 'lib/dispatch_policy.rb', line 10

def enabled
  @enabled
end

#lease_durationObject

Returns the value of attribute lease_duration

Returns:

  • (Object)

    the current value of lease_duration



10
11
12
# File 'lib/dispatch_policy.rb', line 10

def lease_duration
  @lease_duration
end

#partition_idle_ttlObject

Returns the value of attribute partition_idle_ttl

Returns:

  • (Object)

    the current value of partition_idle_ttl



10
11
12
# File 'lib/dispatch_policy.rb', line 10

def partition_idle_ttl
  @partition_idle_ttl
end

#round_robin_quantumObject

Returns the value of attribute round_robin_quantum

Returns:

  • (Object)

    the current value of round_robin_quantum



10
11
12
# File 'lib/dispatch_policy.rb', line 10

def round_robin_quantum
  @round_robin_quantum
end

#tick_max_durationObject

Returns the value of attribute tick_max_duration

Returns:

  • (Object)

    the current value of tick_max_duration



10
11
12
# File 'lib/dispatch_policy.rb', line 10

def tick_max_duration
  @tick_max_duration
end

#tick_sleepObject

Returns the value of attribute tick_sleep

Returns:

  • (Object)

    the current value of tick_sleep



10
11
12
# File 'lib/dispatch_policy.rb', line 10

def tick_sleep
  @tick_sleep
end

#tick_sleep_busyObject

Returns the value of attribute tick_sleep_busy

Returns:

  • (Object)

    the current value of tick_sleep_busy



10
11
12
# File 'lib/dispatch_policy.rb', line 10

def tick_sleep_busy
  @tick_sleep_busy
end