Included Modules

Files

Class/Module Index [+]

Quicksearch

Concurrent::AbstractExecutorService

@!macro abstract_executor_service_public_api @!visibility private

Constants

FALLBACK_POLICIES

The set of possible fallback policies that may be set at thread pool creation.

Attributes

fallback_policy[R]

@!macro executor_service_attr_reader_fallback_policy

Public Class Methods

new(*args, &block) click to toggle source

Create a new thread pool.

# File lib/concurrent/executor/abstract_executor_service.rb, line 20
def initialize(*args, &block)
  super(&nil)
  synchronize { ns_initialize(*args, &block) }
end

Public Instance Methods

auto_terminate=(value) click to toggle source

@!macro executor_service_method_auto_terminate_setter

# File lib/concurrent/executor/abstract_executor_service.rb, line 61
def auto_terminate=(value)
  synchronize { self.ns_auto_terminate = value }
end
auto_terminate?() click to toggle source

@!macro executor_service_method_auto_terminate_question

# File lib/concurrent/executor/abstract_executor_service.rb, line 56
def auto_terminate?
  synchronize { ns_auto_terminate? }
end
kill() click to toggle source

@!macro executor_service_method_kill

# File lib/concurrent/executor/abstract_executor_service.rb, line 31
def kill
  raise NotImplementedError
end
running?() click to toggle source

@!macro executor_service_method_running_question

# File lib/concurrent/executor/abstract_executor_service.rb, line 41
def running?
  synchronize { ns_running? }
end
shutdown() click to toggle source

@!macro executor_service_method_shutdown

# File lib/concurrent/executor/abstract_executor_service.rb, line 26
def shutdown
  raise NotImplementedError
end
shutdown?() click to toggle source

@!macro executor_service_method_shutdown_question

# File lib/concurrent/executor/abstract_executor_service.rb, line 51
def shutdown?
  synchronize { ns_shutdown? }
end
shuttingdown?() click to toggle source

@!macro executor_service_method_shuttingdown_question

# File lib/concurrent/executor/abstract_executor_service.rb, line 46
def shuttingdown?
  synchronize { ns_shuttingdown? }
end
wait_for_termination(timeout = nil) click to toggle source

@!macro executor_service_method_wait_for_termination

# File lib/concurrent/executor/abstract_executor_service.rb, line 36
def wait_for_termination(timeout = nil)
  raise NotImplementedError
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.