Sha256: 3b3c5016c3960175aabfe6c8dc8c9fe07006d0c0b39ce0f27b403926c5781f14

Contents?: true

Size: 991 Bytes

Versions: 314

Compression:

Stored size: 991 Bytes

Contents

require 'concurrent/executor/executor_service'

module Concurrent

  # Indicates that the including `ExecutorService` guarantees
  # that all operations will occur in the order they are post and that no
  # two operations may occur simultaneously. This module provides no
  # functionality and provides no guarantees. That is the responsibility
  # of the including class. This module exists solely to allow the including
  # object to be interrogated for its serialization status.
  #
  # @example
  #   class Foo
  #     include Concurrent::SerialExecutor
  #   end
  #
  #   foo = Foo.new
  #
  #   foo.is_a? Concurrent::ExecutorService #=> true
  #   foo.is_a? Concurrent::SerialExecutor  #=> true
  #   foo.serialized?                       #=> true
  #
  # @!visibility private
  module SerialExecutorService
    include ExecutorService

    # @!macro executor_service_method_serialized_question
    #
    # @note Always returns `true`
    def serialized?
      true
    end
  end
end

Version data entries

314 entries across 289 versions & 56 rubygems

Version Path
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.3/lib/concurrent/executor/serial_executor_service.rb
concurrent-ruby-1.1.3 lib/concurrent/executor/serial_executor_service.rb
concurrent-ruby-1.1.2 lib/concurrent/executor/serial_executor_service.rb
concurrent-ruby-1.1.1 lib/concurrent/executor/serial_executor_service.rb
concurrent-ruby-1.1.0.pre2 lib/concurrent/executor/serial_executor_service.rb
concurrent-ruby-1.1.0.pre1 lib/concurrent/executor/serial_executor_service.rb
sprokovuln-0.2.0 vendor/ruby/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb
logstash-filter-device_detection-1.0.7-java vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/serial_executor_service.rb
tdiary-5.0.9 vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/serial_executor_service.rb
monero_wallet_gen-0.1.0 vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb
tdiary-5.0.8 vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb
tdiary-5.0.7 vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb
pract6-0.1.0 .gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/serial_executor_service.rb
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/serial_executor_service.rb
tdiary-5.0.6 vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/serial_executor_service.rb