Module: Concurrent::Collection
Constant Summary
-
MapImplementation =
private
# File 'lib/concurrent-ruby/concurrent/map.rb', line 10case when Concurrent.on_jruby? require 'concurrent/utility/native_extension_loader' # noinspection RubyResolve JRubyMapBackend when Concurrent.on_cruby? require 'concurrent/collection/map/mri_map_backend' MriMapBackend when Concurrent.on_truffleruby? if defined?(::TruffleRuby::ConcurrentMap) require 'concurrent/collection/map/truffleruby_map_backend' TruffleRubyMapBackend else require 'concurrent/collection/map/synchronized_map_backend' SynchronizedMapBackend end else warn 'Concurrent::Map: unsupported Ruby engine, using a fully synchronized Concurrent::Map implementation' require 'concurrent/collection/map/synchronized_map_backend' SynchronizedMapBackend end
-
NonConcurrentPriorityQueueImplementation =
private
Note:
**Private Implementation:** This abstraction is a private, internal implementation detail. It should never be used directly.
case when Concurrent.on_jruby? JavaNonConcurrentPriorityQueue else RubyNonConcurrentPriorityQueue end