persistent-dmnd 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  # encoding: UTF-8
2
+ # typed: false
2
3
 
3
4
  # Persistent-💎: Ruby gem for easily creating immutable data structures
4
5
  # Copyright (c) 2017 Ivo Anjo <ivo.anjo@ist.utl.pt>
@@ -31,8 +32,7 @@
31
32
 
32
33
  module Persistent💎
33
34
  module JRubyWorkaround
34
- if RUBY_PLATFORM == 'java' # Only supposed to do something on JRuby
35
-
35
+ if RUBY_PLATFORM == 'java' && JRUBY_VERSION < "9.2.0.0" # Only supposed to do something on legacy JRuby versions
36
36
  BROKEN_ENCODING = "\x00"
37
37
  private_constant :BROKEN_ENCODING
38
38
 
@@ -58,7 +58,7 @@ module Persistent💎
58
58
 
59
59
  # Workaround JRuby encoding bug
60
60
  # See https://github.com/jruby/jruby/issues/4878
61
- # and https://github.com/ivoanjo/persistent-dmnd/issues/5
61
+ # and https://gitlab.com/ivoanjo/persistent-dmnd/issues/5
62
62
  #
63
63
  # The trick here is that on JRuby, methods with emojis in the name are defined, but the resulting name is mangled
64
64
  # so instead of for instance #to_💎 the result is #to_?\x00. (Or #💎ify will become #?ify\x00.) This behavior is
@@ -83,8 +83,8 @@ module Persistent💎
83
83
 
84
84
  if JRUBY_VERSION.start_with?('1.7.')
85
85
  unless name_string.match(/\?.+/) ||
86
- ['a?', 'h?', 's?', 'each?'].include?(name_string) ||
87
- ['_?', '_a?', '_h?', '_s?'].any? { |suffix| name_string.end_with?(suffix) }
86
+ ['a?', 'h?', 's?', 'each?'].include?(name_string) ||
87
+ ['_?', '_a?', '_h?', '_s?'].any? { |suffix| name_string.end_with?(suffix) }
88
88
  return
89
89
  end
90
90
  else
@@ -1,4 +1,5 @@
1
1
  # encoding: UTF-8
2
+ # typed: true
2
3
 
3
4
  # Persistent-💎: Ruby gem for easily creating immutable data structures
4
5
  # Copyright (c) 2017 Ivo Anjo <ivo.anjo@ist.utl.pt>
@@ -1,4 +1,5 @@
1
1
  # encoding: UTF-8
2
+ # typed: true
2
3
 
3
4
  # Persistent-💎: Ruby gem for easily creating immutable data structures
4
5
  # Copyright (c) 2017 Ivo Anjo <ivo.anjo@ist.utl.pt>
@@ -39,6 +40,7 @@ module Persistent💎
39
40
  def to_💎
40
41
  self
41
42
  end
43
+
42
44
  alias_method :to_dmnd, :to_💎
43
45
  end
44
46
  end
@@ -1,4 +1,5 @@
1
1
  # encoding: UTF-8
2
+ # typed: true
2
3
 
3
4
  # Persistent-💎: Ruby gem for easily creating immutable data structures
4
5
  # Copyright (c) 2017 Ivo Anjo <ivo.anjo@ist.utl.pt>
@@ -33,6 +34,7 @@ require 'persistent_dmnd/self_conversion'
33
34
  require 'persistent_dmnd/is_persistent'
34
35
  require 'persistent_dmnd/concurrent_ruby_support'
35
36
  require 'persistent_dmnd/jruby_workaround'
37
+ require 'persistent_dmnd/jruby_9_2_set_workaround'
36
38
 
37
39
  require 'hamster'
38
40
  require 'set'
@@ -63,24 +65,35 @@ module Persistent💎
63
65
  ::Set.new(self)
64
66
  end
65
67
 
66
- # Default behavior from Kernel#<=>
68
+ # Note: Behavior changed from Ruby < 3 (returned 0/nil) to match Ruby 3.0 Set#<=> (returns 0/nil/-1/+1);
69
+ # see also https://rubyreferences.github.io/rubychanges/3.0.html#standard-library for details
67
70
  def <=>(other)
68
- self == other ? 0 : nil
71
+ case size <=> other.size
72
+ when (-1)
73
+ (-1) if self < other
74
+ when (+1)
75
+ (+1) if self > other
76
+ else
77
+ 0 if self == other
78
+ end
69
79
  end
70
80
 
71
81
  def to_a💎
72
82
  a💎[*self]
73
83
  end
84
+
74
85
  alias_method :to_aDmnd, :to_a💎
75
86
 
76
87
  def to_h💎
77
88
  h💎[self]
78
89
  end
90
+
79
91
  alias_method :to_hDmnd, :to_h💎
80
92
 
81
93
  def to_s💎
82
94
  self
83
95
  end
96
+
84
97
  alias_method :to_sDmnd, :to_s💎
85
98
 
86
99
  private
@@ -1,4 +1,5 @@
1
1
  # encoding: UTF-8
2
+ # typed: strong
2
3
 
3
4
  # Persistent-💎: Ruby gem for easily creating immutable data structures
4
5
  # Copyright (c) 2017 Ivo Anjo <ivo.anjo@ist.utl.pt>
@@ -30,5 +31,5 @@
30
31
  # frozen_string_literal: true
31
32
 
32
33
  module Persistent💎
33
- VERSION = '1.0.0'
34
+ VERSION = '2.0.0'
34
35
  end
@@ -37,11 +37,11 @@ Gem::Specification.new do |spec|
37
37
  spec.name = 'persistent-dmnd'
38
38
  spec.version = Persistent💎::VERSION
39
39
  spec.authors = 'Ivo Anjo'
40
- spec.email = 'ivo.anjo@ist.utl.pt'
40
+ spec.email = 'ivo@ivoanjo.me'
41
41
 
42
42
  spec.summary = 'Persistent-💎: Because Immutable Data Is Forever'
43
43
  spec.description = 'A tiny ruby gem that gives you a beautiful short-hand syntax for creating immutable arrays, hashes and sets'
44
- spec.homepage = 'https://github.com/ivoanjo/persistent-dmnd/'
44
+ spec.homepage = 'https://gitlab.com/ivoanjo/persistent-dmnd/'
45
45
  spec.license = 'MIT'
46
46
 
47
47
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
@@ -51,13 +51,15 @@ Gem::Specification.new do |spec|
51
51
 
52
52
  spec.required_ruby_version = '>= 1.9.3'
53
53
 
54
- spec.add_development_dependency 'bundler', '~> 1.16'
55
- spec.add_development_dependency 'rake', '~> 12.2'
56
- spec.add_development_dependency 'rspec', '~> 3.7'
57
- spec.add_development_dependency 'concurrent-ruby', '~> 1.0'
58
- spec.add_development_dependency 'pry'
59
- spec.add_development_dependency 'pry-byebug' unless RUBY_PLATFORM == 'java' || RUBY_VERSION.start_with?('1.9.')
60
- spec.add_development_dependency 'pry-debugger-jruby' if RUBY_PLATFORM == 'java' && !JRUBY_VERSION.start_with?('1.7.')
54
+ spec.add_development_dependency 'bundler', '~> 1.16' if RUBY_VERSION < '2.7'
55
+ spec.add_development_dependency 'rake', '~> 12.2' # Note: Rake 12.2 is the last that supports Ruby 1.9
56
+ spec.add_development_dependency 'rspec', '~> 3.8'
57
+ spec.add_development_dependency 'concurrent-ruby', '~> 1.1'
58
+ spec.add_development_dependency 'rufo', '~> 0.7' if RUBY_VERSION >= '2.4.5'
59
+ spec.add_development_dependency 'pry' if RUBY_VERSION >= '2.0.0'
60
+ spec.add_development_dependency 'pry-byebug' if RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.4'
61
+ spec.add_development_dependency 'pry-debugger-jruby' if RUBY_ENGINE == 'jruby' && !JRUBY_VERSION.start_with?('1.7.')
62
+ spec.add_development_dependency 'sorbet' if RUBY_VERSION < '2.7'
61
63
 
62
64
  spec.add_dependency 'hamster', '~> 3.0'
63
65
  end
@@ -0,0 +1,2 @@
1
+ --dir
2
+ .
@@ -0,0 +1,1587 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/concurrent-ruby/all/concurrent-ruby.rbi
9
+ #
10
+ # concurrent-ruby-1.1.5
11
+ module Concurrent
12
+ def abort_transaction; end
13
+ def atomically; end
14
+ def call_dataflow(method, executor, *inputs, &block); end
15
+ def dataflow!(*inputs, &block); end
16
+ def dataflow(*inputs, &block); end
17
+ def dataflow_with!(executor, *inputs, &block); end
18
+ def dataflow_with(executor, *inputs, &block); end
19
+ def leave_transaction; end
20
+ def monotonic_time; end
21
+ def self.abort_transaction; end
22
+ def self.atomically; end
23
+ def self.call_dataflow(method, executor, *inputs, &block); end
24
+ def self.create_simple_logger(level = nil, output = nil); end
25
+ def self.create_stdlib_logger(level = nil, output = nil); end
26
+ def self.dataflow!(*inputs, &block); end
27
+ def self.dataflow(*inputs, &block); end
28
+ def self.dataflow_with!(executor, *inputs, &block); end
29
+ def self.dataflow_with(executor, *inputs, &block); end
30
+ def self.disable_at_exit_handlers!; end
31
+ def self.executor(executor_identifier); end
32
+ def self.global_fast_executor; end
33
+ def self.global_immediate_executor; end
34
+ def self.global_io_executor; end
35
+ def self.global_logger; end
36
+ def self.global_logger=(value); end
37
+ def self.global_timer_set; end
38
+ def self.leave_transaction; end
39
+ def self.monotonic_time; end
40
+ def self.new_fast_executor(opts = nil); end
41
+ def self.new_io_executor(opts = nil); end
42
+ def self.physical_processor_count; end
43
+ def self.processor_count; end
44
+ def self.processor_counter; end
45
+ def self.use_simple_logger(level = nil, output = nil); end
46
+ def self.use_stdlib_logger(level = nil, output = nil); end
47
+ extend Concurrent::Concern::Logging
48
+ extend Concurrent::Utility::EngineDetector
49
+ extend Concurrent::Utility::NativeExtensionLoader
50
+ end
51
+ module Concurrent::Utility
52
+ end
53
+ module Concurrent::Utility::EngineDetector
54
+ def on_cruby?; end
55
+ def on_jruby?; end
56
+ def on_jruby_9000?; end
57
+ def on_linux?; end
58
+ def on_osx?; end
59
+ def on_rbx?; end
60
+ def on_truffleruby?; end
61
+ def on_windows?; end
62
+ def ruby_engine; end
63
+ def ruby_version(version = nil, comparison, major, minor, patch); end
64
+ end
65
+ module Concurrent::Synchronization
66
+ end
67
+ class Concurrent::Synchronization::AbstractObject
68
+ def full_memory_barrier; end
69
+ def initialize; end
70
+ def self.attr_volatile(*names); end
71
+ end
72
+ module Concurrent::Utility::NativeExtensionLoader
73
+ def allow_c_extensions?; end
74
+ def c_extensions_loaded?; end
75
+ def java_extensions_loaded?; end
76
+ def load_error_path(error); end
77
+ def load_native_extensions; end
78
+ def set_c_extensions_loaded; end
79
+ def set_java_extensions_loaded; end
80
+ def try_load_c_extension(path); end
81
+ end
82
+ module Concurrent::Synchronization::MriAttrVolatile
83
+ def full_memory_barrier; end
84
+ def self.included(base); end
85
+ end
86
+ module Concurrent::Synchronization::MriAttrVolatile::ClassMethods
87
+ def attr_volatile(*names); end
88
+ end
89
+ class Concurrent::Synchronization::MriObject < Concurrent::Synchronization::AbstractObject
90
+ def initialize; end
91
+ extend Concurrent::Synchronization::MriAttrVolatile::ClassMethods
92
+ include Concurrent::Synchronization::MriAttrVolatile
93
+ end
94
+ module Concurrent::Synchronization::RbxAttrVolatile
95
+ def full_memory_barrier; end
96
+ def self.included(base); end
97
+ end
98
+ module Concurrent::Synchronization::RbxAttrVolatile::ClassMethods
99
+ def attr_volatile(*names); end
100
+ end
101
+ class Concurrent::Synchronization::RbxObject < Concurrent::Synchronization::AbstractObject
102
+ def initialize; end
103
+ extend Concurrent::Synchronization::RbxAttrVolatile::ClassMethods
104
+ include Concurrent::Synchronization::RbxAttrVolatile
105
+ end
106
+ module Concurrent::Synchronization::TruffleRubyAttrVolatile
107
+ def full_memory_barrier; end
108
+ def self.included(base); end
109
+ end
110
+ module Concurrent::Synchronization::TruffleRubyAttrVolatile::ClassMethods
111
+ def attr_volatile(*names); end
112
+ end
113
+ class Concurrent::Synchronization::TruffleRubyObject < Concurrent::Synchronization::AbstractObject
114
+ def initialize; end
115
+ extend Concurrent::Synchronization::TruffleRubyAttrVolatile::ClassMethods
116
+ include Concurrent::Synchronization::TruffleRubyAttrVolatile
117
+ end
118
+ class Concurrent::Synchronization::Object < Concurrent::Synchronization::MriObject
119
+ def __initialize_atomic_fields__; end
120
+ def initialize; end
121
+ def self.atomic_attribute?(name); end
122
+ def self.atomic_attributes(inherited = nil); end
123
+ def self.attr_atomic(*names); end
124
+ def self.define_initialize_atomic_fields; end
125
+ def self.ensure_safe_initialization_when_final_fields_are_present; end
126
+ def self.safe_initialization!; end
127
+ def self.safe_initialization?; end
128
+ end
129
+ class Concurrent::Synchronization::AbstractLockableObject < Concurrent::Synchronization::Object
130
+ def ns_broadcast; end
131
+ def ns_signal; end
132
+ def ns_wait(timeout = nil); end
133
+ def ns_wait_until(timeout = nil, &condition); end
134
+ def synchronize; end
135
+ end
136
+ module Concurrent::Synchronization::ConditionSignalling
137
+ def ns_broadcast; end
138
+ def ns_signal; end
139
+ end
140
+ class Concurrent::Synchronization::MutexLockableObject < Concurrent::Synchronization::AbstractLockableObject
141
+ def initialize(*defaults); end
142
+ def ns_wait(timeout = nil); end
143
+ def self.new(*args, &block); end
144
+ def synchronize; end
145
+ include Concurrent::Synchronization::ConditionSignalling
146
+ end
147
+ class Concurrent::Synchronization::MonitorLockableObject < Concurrent::Synchronization::AbstractLockableObject
148
+ def initialize(*defaults); end
149
+ def ns_wait(timeout = nil); end
150
+ def self.new(*args, &block); end
151
+ def synchronize; end
152
+ include Concurrent::Synchronization::ConditionSignalling
153
+ end
154
+ class Concurrent::Synchronization::RbxLockableObject < Concurrent::Synchronization::AbstractLockableObject
155
+ def initialize(*defaults); end
156
+ def ns_broadcast; end
157
+ def ns_signal; end
158
+ def ns_wait(timeout = nil); end
159
+ def self.new(*args, &block); end
160
+ def synchronize(&block); end
161
+ end
162
+ class Concurrent::Synchronization::LockableObject < Concurrent::Synchronization::MutexLockableObject
163
+ def new_condition; end
164
+ end
165
+ class Concurrent::Synchronization::Condition < Concurrent::Synchronization::LockableObject
166
+ def broadcast; end
167
+ def initialize(lock); end
168
+ def ns_broadcast; end
169
+ def ns_signal; end
170
+ def ns_wait(timeout = nil); end
171
+ def ns_wait_until(timeout = nil, &condition); end
172
+ def self.new(*args, &block); end
173
+ def self.private_new(*args, &block); end
174
+ def signal; end
175
+ def wait(timeout = nil); end
176
+ def wait_until(timeout = nil, &condition); end
177
+ end
178
+ class Concurrent::Synchronization::Lock < Concurrent::Synchronization::LockableObject
179
+ def broadcast; end
180
+ def ns_broadcast; end
181
+ def ns_signal; end
182
+ def ns_wait(timeout = nil); end
183
+ def ns_wait_until(timeout = nil, &condition); end
184
+ def signal; end
185
+ def synchronize; end
186
+ def wait(timeout = nil); end
187
+ def wait_until(timeout = nil, &condition); end
188
+ end
189
+ module Concurrent::AtomicNumericCompareAndSetWrapper
190
+ def compare_and_set(old_value, new_value); end
191
+ end
192
+ class Concurrent::MutexAtomicReference < Concurrent::Synchronization::LockableObject
193
+ def _compare_and_set(old_value, new_value); end
194
+ def compare_and_swap(old_value, new_value); end
195
+ def get; end
196
+ def get_and_set(new_value); end
197
+ def initialize(value = nil); end
198
+ def ns_initialize(value); end
199
+ def set(new_value); end
200
+ def swap(new_value); end
201
+ def value; end
202
+ def value=(new_value); end
203
+ include Concurrent::AtomicDirectUpdate
204
+ include Concurrent::AtomicNumericCompareAndSetWrapper
205
+ end
206
+ module Concurrent::AtomicDirectUpdate
207
+ def try_update!; end
208
+ def try_update; end
209
+ def update; end
210
+ end
211
+ class Concurrent::ConcurrentUpdateError < ThreadError
212
+ end
213
+ class Concurrent::AtomicReference < Concurrent::MutexAtomicReference
214
+ def inspect; end
215
+ def to_s; end
216
+ end
217
+ class Concurrent::MutexAtomicBoolean < Concurrent::Synchronization::LockableObject
218
+ def false?; end
219
+ def initialize(initial = nil); end
220
+ def make_false; end
221
+ def make_true; end
222
+ def ns_initialize(initial); end
223
+ def ns_make_value(value); end
224
+ def true?; end
225
+ def value; end
226
+ def value=(value); end
227
+ end
228
+ class Concurrent::AtomicBoolean < Concurrent::MutexAtomicBoolean
229
+ def inspect; end
230
+ def to_s; end
231
+ end
232
+ module Concurrent::Utility::NativeInteger
233
+ def ensure_integer(value); end
234
+ def ensure_integer_and_bounds(value); end
235
+ def ensure_lower_bound(value); end
236
+ def ensure_positive(value); end
237
+ def ensure_positive_and_no_zero(value); end
238
+ def ensure_upper_bound(value); end
239
+ extend Concurrent::Utility::NativeInteger
240
+ end
241
+ class Concurrent::MutexAtomicFixnum < Concurrent::Synchronization::LockableObject
242
+ def compare_and_set(expect, update); end
243
+ def decrement(delta = nil); end
244
+ def down(delta = nil); end
245
+ def increment(delta = nil); end
246
+ def initialize(initial = nil); end
247
+ def ns_initialize(initial); end
248
+ def ns_set(value); end
249
+ def up(delta = nil); end
250
+ def update; end
251
+ def value; end
252
+ def value=(value); end
253
+ end
254
+ class Concurrent::AtomicFixnum < Concurrent::MutexAtomicFixnum
255
+ def inspect; end
256
+ def to_s; end
257
+ end
258
+ class Concurrent::CyclicBarrier < Concurrent::Synchronization::LockableObject
259
+ def broken?; end
260
+ def initialize(parties, &block); end
261
+ def ns_generation_done(generation, status, continue = nil); end
262
+ def ns_initialize(parties, &block); end
263
+ def ns_next_generation; end
264
+ def number_waiting; end
265
+ def parties; end
266
+ def reset; end
267
+ def wait(timeout = nil); end
268
+ end
269
+ class Concurrent::CyclicBarrier::Generation < Struct
270
+ def self.[](*arg0); end
271
+ def self.inspect; end
272
+ def self.members; end
273
+ def self.new(*arg0); end
274
+ def status; end
275
+ def status=(_); end
276
+ end
277
+ class Concurrent::MutexCountDownLatch < Concurrent::Synchronization::LockableObject
278
+ def count; end
279
+ def count_down; end
280
+ def initialize(count = nil); end
281
+ def ns_initialize(count); end
282
+ def wait(timeout = nil); end
283
+ end
284
+ class Concurrent::CountDownLatch < Concurrent::MutexCountDownLatch
285
+ end
286
+ class Concurrent::Event < Concurrent::Synchronization::LockableObject
287
+ def initialize; end
288
+ def ns_initialize; end
289
+ def ns_set; end
290
+ def reset; end
291
+ def set; end
292
+ def set?; end
293
+ def try?; end
294
+ def wait(timeout = nil); end
295
+ end
296
+ class Concurrent::Error < StandardError
297
+ end
298
+ class Concurrent::ConfigurationError < Concurrent::Error
299
+ end
300
+ class Concurrent::CancelledOperationError < Concurrent::Error
301
+ end
302
+ class Concurrent::LifecycleError < Concurrent::Error
303
+ end
304
+ class Concurrent::ImmutabilityError < Concurrent::Error
305
+ end
306
+ class Concurrent::IllegalOperationError < Concurrent::Error
307
+ end
308
+ class Concurrent::InitializationError < Concurrent::Error
309
+ end
310
+ class Concurrent::MaxRestartFrequencyError < Concurrent::Error
311
+ end
312
+ class Concurrent::MultipleAssignmentError < Concurrent::Error
313
+ def initialize(message = nil, inspection_data = nil); end
314
+ def inspect; end
315
+ def inspection_data; end
316
+ end
317
+ class Concurrent::RejectedExecutionError < Concurrent::Error
318
+ end
319
+ class Concurrent::ResourceLimitError < Concurrent::Error
320
+ end
321
+ class Concurrent::TimeoutError < Concurrent::Error
322
+ end
323
+ class Concurrent::MultipleErrors < Concurrent::Error
324
+ def errors; end
325
+ def initialize(errors, message = nil); end
326
+ end
327
+ class Concurrent::ReadWriteLock < Concurrent::Synchronization::Object
328
+ def acquire_read_lock; end
329
+ def acquire_write_lock; end
330
+ def has_waiters?; end
331
+ def initialize; end
332
+ def max_readers?(c = nil); end
333
+ def max_writers?(c = nil); end
334
+ def release_read_lock; end
335
+ def release_write_lock; end
336
+ def running_readers(c = nil); end
337
+ def running_readers?(c = nil); end
338
+ def running_writer?(c = nil); end
339
+ def self.new(*args, &block); end
340
+ def waiting_writer?(c = nil); end
341
+ def waiting_writers(c = nil); end
342
+ def with_read_lock; end
343
+ def with_write_lock; end
344
+ def write_locked?; end
345
+ end
346
+ class Concurrent::AbstractThreadLocalVar
347
+ def allocate_storage; end
348
+ def bind(value, &block); end
349
+ def default; end
350
+ def initialize(default = nil, &default_block); end
351
+ def value; end
352
+ def value=(value); end
353
+ end
354
+ class Concurrent::RubyThreadLocalVar < Concurrent::AbstractThreadLocalVar
355
+ def allocate_storage; end
356
+ def default_for(thread); end
357
+ def get_threadlocal_array(thread = nil); end
358
+ def self.thread_finalizer(array); end
359
+ def self.threadlocal_finalizer(index); end
360
+ def set_threadlocal_array(array, thread = nil); end
361
+ def value; end
362
+ def value=(value); end
363
+ def value_for(thread); end
364
+ end
365
+ class Concurrent::ThreadLocalVar < Concurrent::RubyThreadLocalVar
366
+ end
367
+ class Concurrent::ReentrantReadWriteLock < Concurrent::Synchronization::Object
368
+ def acquire_read_lock; end
369
+ def acquire_write_lock; end
370
+ def initialize; end
371
+ def max_readers?(c = nil); end
372
+ def max_writers?(c = nil); end
373
+ def release_read_lock; end
374
+ def release_write_lock; end
375
+ def running_readers(c = nil); end
376
+ def running_readers?(c = nil); end
377
+ def running_writer?(c = nil); end
378
+ def self.new(*args, &block); end
379
+ def try_read_lock; end
380
+ def try_write_lock; end
381
+ def waiting_or_running_writer?(c = nil); end
382
+ def waiting_writers(c = nil); end
383
+ def with_read_lock; end
384
+ def with_write_lock; end
385
+ end
386
+ class Concurrent::MutexSemaphore < Concurrent::Synchronization::LockableObject
387
+ def acquire(permits = nil); end
388
+ def available_permits; end
389
+ def drain_permits; end
390
+ def initialize(count); end
391
+ def ns_initialize(count); end
392
+ def reduce_permits(reduction); end
393
+ def release(permits = nil); end
394
+ def try_acquire(permits = nil, timeout = nil); end
395
+ def try_acquire_now(permits); end
396
+ def try_acquire_timed(permits, timeout); end
397
+ end
398
+ class Concurrent::Semaphore < Concurrent::MutexSemaphore
399
+ end
400
+ module Concurrent::Concern
401
+ end
402
+ module Concurrent::Concern::Dereferenceable
403
+ def apply_deref_options(value); end
404
+ def deref; end
405
+ def ns_set_deref_options(opts); end
406
+ def set_deref_options(opts = nil); end
407
+ def value; end
408
+ def value=(value); end
409
+ end
410
+ module Concurrent::Concern::Obligation
411
+ def compare_and_set_state(next_state, *expected_current); end
412
+ def complete?; end
413
+ def event; end
414
+ def exception(*args); end
415
+ def fulfilled?; end
416
+ def get_arguments_from(opts = nil); end
417
+ def if_state(*expected_states); end
418
+ def incomplete?; end
419
+ def init_obligation; end
420
+ def no_error!(timeout = nil); end
421
+ def ns_check_state?(expected); end
422
+ def ns_set_state(value); end
423
+ def pending?; end
424
+ def realized?; end
425
+ def reason; end
426
+ def rejected?; end
427
+ def set_state(success, value, reason); end
428
+ def state; end
429
+ def state=(value); end
430
+ def unscheduled?; end
431
+ def value!(timeout = nil); end
432
+ def value(timeout = nil); end
433
+ def wait!(timeout = nil); end
434
+ def wait(timeout = nil); end
435
+ include Concurrent::Concern::Dereferenceable
436
+ end
437
+ module Concurrent::Concern::Logging
438
+ def log(level, progname, message = nil, &block); end
439
+ include Logger::Severity
440
+ end
441
+ module Concurrent::ExecutorService
442
+ def <<(task); end
443
+ def can_overflow?; end
444
+ def post(*args, &task); end
445
+ def serialized?; end
446
+ include Concurrent::Concern::Logging
447
+ end
448
+ class Concurrent::AtExitImplementation < Concurrent::Synchronization::LockableObject
449
+ def add(handler_id = nil, &handler); end
450
+ def delete(handler_id); end
451
+ def enabled=(value); end
452
+ def enabled?; end
453
+ def handler?(handler_id); end
454
+ def handlers; end
455
+ def initialize(*args); end
456
+ def install; end
457
+ def ns_initialize(enabled = nil); end
458
+ def run; end
459
+ def runner; end
460
+ include Logger::Severity
461
+ end
462
+ class Concurrent::AbstractExecutorService < Concurrent::Synchronization::LockableObject
463
+ def auto_terminate=(value); end
464
+ def auto_terminate?; end
465
+ def fallback_policy; end
466
+ def handle_fallback(*args); end
467
+ def initialize(*args, &block); end
468
+ def kill; end
469
+ def ns_auto_terminate=(value); end
470
+ def ns_auto_terminate?; end
471
+ def ns_execute(*args, &task); end
472
+ def ns_kill_execution; end
473
+ def ns_shutdown_execution; end
474
+ def running?; end
475
+ def shutdown; end
476
+ def shutdown?; end
477
+ def shuttingdown?; end
478
+ def terminate_at_exit; end
479
+ def wait_for_termination(timeout = nil); end
480
+ include Concurrent::ExecutorService
481
+ end
482
+ module Concurrent::SerialExecutorService
483
+ def serialized?; end
484
+ include Concurrent::ExecutorService
485
+ end
486
+ class Concurrent::ImmediateExecutor < Concurrent::AbstractExecutorService
487
+ def <<(task); end
488
+ def initialize; end
489
+ def kill; end
490
+ def post(*args, &task); end
491
+ def running?; end
492
+ def shutdown; end
493
+ def shutdown?; end
494
+ def shuttingdown?; end
495
+ def wait_for_termination(timeout = nil); end
496
+ include Concurrent::SerialExecutorService
497
+ end
498
+ class Concurrent::Delay < Concurrent::Synchronization::LockableObject
499
+ def execute_task_once; end
500
+ def initialize(opts = nil, &block); end
501
+ def ns_initialize(opts, &block); end
502
+ def reconfigure(&block); end
503
+ def value!(timeout = nil); end
504
+ def value(timeout = nil); end
505
+ def wait(timeout = nil); end
506
+ include Concurrent::Concern::Obligation
507
+ end
508
+ class Concurrent::RubyExecutorService < Concurrent::AbstractExecutorService
509
+ def initialize(*args, &block); end
510
+ def kill; end
511
+ def ns_running?; end
512
+ def ns_shutdown?; end
513
+ def ns_shutdown_execution; end
514
+ def ns_shuttingdown?; end
515
+ def post(*args, &task); end
516
+ def shutdown; end
517
+ def stop_event; end
518
+ def stopped_event; end
519
+ def wait_for_termination(timeout = nil); end
520
+ end
521
+ class Concurrent::RubyThreadPoolExecutor < Concurrent::RubyExecutorService
522
+ def can_overflow?; end
523
+ def completed_task_count; end
524
+ def idletime; end
525
+ def initialize(opts = nil); end
526
+ def largest_length; end
527
+ def length; end
528
+ def max_length; end
529
+ def max_queue; end
530
+ def min_length; end
531
+ def ns_add_busy_worker; end
532
+ def ns_assign_worker(*args, &task); end
533
+ def ns_enqueue(*args, &task); end
534
+ def ns_execute(*args, &task); end
535
+ def ns_initialize(opts); end
536
+ def ns_kill_execution; end
537
+ def ns_limited_queue?; end
538
+ def ns_prune_pool; end
539
+ def ns_ready_worker(worker, success = nil); end
540
+ def ns_remove_busy_worker(worker); end
541
+ def ns_reset_if_forked; end
542
+ def ns_shutdown_execution; end
543
+ def ns_worker_died(worker); end
544
+ def ns_worker_not_old_enough(worker); end
545
+ def queue_length; end
546
+ def ready_worker(worker); end
547
+ def remaining_capacity; end
548
+ def remove_busy_worker(worker); end
549
+ def scheduled_task_count; end
550
+ def worker_died(worker); end
551
+ def worker_not_old_enough(worker); end
552
+ def worker_task_completed; end
553
+ end
554
+ class Concurrent::RubyThreadPoolExecutor::Worker
555
+ def <<(message); end
556
+ def create_worker(queue, pool, idletime); end
557
+ def initialize(pool); end
558
+ def kill; end
559
+ def run_task(pool, task, args); end
560
+ def stop; end
561
+ include Concurrent::Concern::Logging
562
+ end
563
+ class Concurrent::ThreadPoolExecutor < Concurrent::RubyThreadPoolExecutor
564
+ end
565
+ class Concurrent::CachedThreadPool < Concurrent::ThreadPoolExecutor
566
+ def initialize(opts = nil); end
567
+ def ns_initialize(opts); end
568
+ end
569
+ class Concurrent::Utility::ProcessorCounter
570
+ def compute_physical_processor_count; end
571
+ def compute_processor_count; end
572
+ def initialize; end
573
+ def physical_processor_count; end
574
+ def processor_count; end
575
+ end
576
+ class Concurrent::FixedThreadPool < Concurrent::ThreadPoolExecutor
577
+ def initialize(num_threads, opts = nil); end
578
+ end
579
+ class Concurrent::SimpleExecutorService < Concurrent::RubyExecutorService
580
+ def <<(task); end
581
+ def kill; end
582
+ def ns_initialize; end
583
+ def post(*args, &task); end
584
+ def running?; end
585
+ def self.<<(task); end
586
+ def self.post(*args); end
587
+ def shutdown; end
588
+ def shutdown?; end
589
+ def shuttingdown?; end
590
+ def wait_for_termination(timeout = nil); end
591
+ end
592
+ class Concurrent::IndirectImmediateExecutor < Concurrent::ImmediateExecutor
593
+ def initialize; end
594
+ def post(*args, &task); end
595
+ end
596
+ class Concurrent::RubySingleThreadExecutor < Concurrent::RubyThreadPoolExecutor
597
+ def initialize(opts = nil); end
598
+ end
599
+ class Concurrent::SafeTaskExecutor < Concurrent::Synchronization::LockableObject
600
+ def execute(*args); end
601
+ def initialize(task, opts = nil); end
602
+ end
603
+ class Concurrent::SerializedExecution < Concurrent::Synchronization::LockableObject
604
+ def call_job(job); end
605
+ def initialize; end
606
+ def ns_initialize; end
607
+ def post(executor, *args, &task); end
608
+ def posts(posts); end
609
+ def work(job); end
610
+ include Concurrent::Concern::Logging
611
+ end
612
+ class Concurrent::SerializedExecution::Job < Struct
613
+ def args; end
614
+ def args=(_); end
615
+ def block; end
616
+ def block=(_); end
617
+ def call; end
618
+ def executor; end
619
+ def executor=(_); end
620
+ def self.[](*arg0); end
621
+ def self.inspect; end
622
+ def self.members; end
623
+ def self.new(*arg0); end
624
+ end
625
+ class Concurrent::SerializedExecutionDelegator < SimpleDelegator
626
+ def initialize(executor); end
627
+ def post(*args, &task); end
628
+ include Concurrent::SerialExecutorService
629
+ end
630
+ class Concurrent::SingleThreadExecutor < Concurrent::RubySingleThreadExecutor
631
+ end
632
+ module Concurrent::Collection
633
+ end
634
+ class Concurrent::Collection::CopyOnWriteObserverSet < Concurrent::Synchronization::LockableObject
635
+ def add_observer(observer = nil, func = nil, &block); end
636
+ def clear_observers_and_return_old; end
637
+ def count_observers; end
638
+ def delete_observer(observer); end
639
+ def delete_observers; end
640
+ def initialize; end
641
+ def notify_and_delete_observers(*args, &block); end
642
+ def notify_observers(*args, &block); end
643
+ def notify_to(observers, *args); end
644
+ def ns_initialize; end
645
+ def observers; end
646
+ def observers=(new_set); end
647
+ end
648
+ class Concurrent::Collection::CopyOnNotifyObserverSet < Concurrent::Synchronization::LockableObject
649
+ def add_observer(observer = nil, func = nil, &block); end
650
+ def count_observers; end
651
+ def delete_observer(observer); end
652
+ def delete_observers; end
653
+ def duplicate_and_clear_observers; end
654
+ def duplicate_observers; end
655
+ def initialize; end
656
+ def notify_and_delete_observers(*args, &block); end
657
+ def notify_observers(*args, &block); end
658
+ def notify_to(observers, *args); end
659
+ def ns_initialize; end
660
+ end
661
+ module Concurrent::Concern::Observable
662
+ def add_observer(observer = nil, func = nil, &block); end
663
+ def count_observers; end
664
+ def delete_observer(observer); end
665
+ def delete_observers; end
666
+ def observers; end
667
+ def observers=(arg0); end
668
+ def with_observer(observer = nil, func = nil, &block); end
669
+ end
670
+ class Concurrent::IVar < Concurrent::Synchronization::LockableObject
671
+ def add_observer(observer = nil, func = nil, &block); end
672
+ def check_for_block_or_value!(block_given, value); end
673
+ def complete(success, value, reason); end
674
+ def complete_without_notification(success, value, reason); end
675
+ def fail(reason = nil); end
676
+ def initialize(value = nil, opts = nil, &block); end
677
+ def notify_observers(value, reason); end
678
+ def ns_complete_without_notification(success, value, reason); end
679
+ def ns_initialize(value, opts); end
680
+ def safe_execute(task, args = nil); end
681
+ def set(value = nil); end
682
+ def try_set(value = nil, &block); end
683
+ include Concurrent::Concern::Obligation
684
+ include Concurrent::Concern::Observable
685
+ end
686
+ module Concurrent::Options
687
+ def self.executor(executor_identifier); end
688
+ def self.executor_from_options(opts = nil); end
689
+ end
690
+ class Concurrent::ScheduledTask < Concurrent::IVar
691
+ def <=>(other); end
692
+ def cancel; end
693
+ def cancelled?; end
694
+ def execute; end
695
+ def executor; end
696
+ def fail(reason = nil); end
697
+ def initial_delay; end
698
+ def initialize(delay, opts = nil, &task); end
699
+ def ns_reschedule(delay); end
700
+ def ns_schedule(delay); end
701
+ def process_task; end
702
+ def processing?; end
703
+ def reschedule(delay); end
704
+ def reset; end
705
+ def schedule_time; end
706
+ def self.execute(delay, opts = nil, &task); end
707
+ def set(value = nil); end
708
+ def try_set(value = nil, &block); end
709
+ include Comparable
710
+ end
711
+ class Concurrent::Collection::RubyNonConcurrentPriorityQueue
712
+ def <<(item); end
713
+ def clear; end
714
+ def delete(item); end
715
+ def deq; end
716
+ def empty?; end
717
+ def enq(item); end
718
+ def has_priority?(item); end
719
+ def include?(item); end
720
+ def initialize(opts = nil); end
721
+ def length; end
722
+ def ordered?(x, y); end
723
+ def peek; end
724
+ def pop; end
725
+ def push(item); end
726
+ def self.from_list(list, opts = nil); end
727
+ def shift; end
728
+ def sink(k); end
729
+ def size; end
730
+ def swap(x, y); end
731
+ def swim(k); end
732
+ end
733
+ class Concurrent::Collection::NonConcurrentPriorityQueue < Concurrent::Collection::RubyNonConcurrentPriorityQueue
734
+ def <<(item); end
735
+ def deq; end
736
+ def enq(item); end
737
+ def has_priority?(item); end
738
+ def shift; end
739
+ def size; end
740
+ end
741
+ class Concurrent::TimerSet < Concurrent::RubyExecutorService
742
+ def <<(task); end
743
+ def initialize(opts = nil); end
744
+ def kill; end
745
+ def ns_initialize(opts); end
746
+ def ns_post_task(task); end
747
+ def ns_reset_if_forked; end
748
+ def ns_shutdown_execution; end
749
+ def post(delay, *args, &task); end
750
+ def post_task(task); end
751
+ def process_tasks; end
752
+ def remove_task(task); end
753
+ end
754
+ class Concurrent::AtomicMarkableReference < Concurrent::Synchronization::Object
755
+ def __initialize_atomic_fields__; end
756
+ def compare_and_set(expected_val, new_val, expected_mark, new_mark); end
757
+ def compare_and_set_reference(expected, value); end
758
+ def compare_and_swap(expected_val, new_val, expected_mark, new_mark); end
759
+ def get; end
760
+ def immutable_array(*args); end
761
+ def initialize(value = nil, mark = nil); end
762
+ def mark; end
763
+ def marked?; end
764
+ def reference; end
765
+ def reference=(value); end
766
+ def self.new(*args, &block); end
767
+ def set(new_val, new_mark); end
768
+ def swap_reference(value); end
769
+ def try_update!; end
770
+ def try_update; end
771
+ def update; end
772
+ def update_reference(&block); end
773
+ def value; end
774
+ end
775
+ class Concurrent::Agent < Concurrent::Synchronization::LockableObject
776
+ def <<(action); end
777
+ def await; end
778
+ def await_for!(timeout); end
779
+ def await_for(timeout); end
780
+ def deref; end
781
+ def enqueue_action_job(action, args, executor); end
782
+ def enqueue_await_job(latch); end
783
+ def error; end
784
+ def error_mode; end
785
+ def execute_next_job; end
786
+ def failed?; end
787
+ def handle_error(error); end
788
+ def initialize(initial, opts = nil); end
789
+ def ns_enqueue_job(job, index = nil); end
790
+ def ns_find_last_job_for_thread; end
791
+ def ns_initialize(initial, opts); end
792
+ def ns_post_next_job; end
793
+ def ns_validate(value); end
794
+ def post(*args, &action); end
795
+ def reason; end
796
+ def restart(new_value, opts = nil); end
797
+ def self.await(*agents); end
798
+ def self.await_for!(timeout, *agents); end
799
+ def self.await_for(timeout, *agents); end
800
+ def send!(*args, &action); end
801
+ def send(*args, &action); end
802
+ def send_off!(*args, &action); end
803
+ def send_off(*args, &action); end
804
+ def send_via!(executor, *args, &action); end
805
+ def send_via(executor, *args, &action); end
806
+ def stopped?; end
807
+ def value; end
808
+ def wait(timeout = nil); end
809
+ include Concurrent::Concern::Observable
810
+ end
811
+ class Concurrent::Agent::Job < Struct
812
+ def action; end
813
+ def action=(_); end
814
+ def args; end
815
+ def args=(_); end
816
+ def caller; end
817
+ def caller=(_); end
818
+ def executor; end
819
+ def executor=(_); end
820
+ def self.[](*arg0); end
821
+ def self.inspect; end
822
+ def self.members; end
823
+ def self.new(*arg0); end
824
+ end
825
+ class Concurrent::Agent::Error < StandardError
826
+ def initialize(message = nil); end
827
+ end
828
+ class Concurrent::Agent::ValidationError < Concurrent::Agent::Error
829
+ def initialize(message = nil); end
830
+ end
831
+ class Concurrent::Atom < Concurrent::Synchronization::Object
832
+ def __initialize_atomic_fields__; end
833
+ def compare_and_set(old_value, new_value); end
834
+ def compare_and_set_value(expected, value); end
835
+ def deref; end
836
+ def initialize(value, opts = nil); end
837
+ def reset(new_value); end
838
+ def self.new(*args, &block); end
839
+ def swap(*args); end
840
+ def swap_value(value); end
841
+ def update_value(&block); end
842
+ def valid?(new_value); end
843
+ def value; end
844
+ def value=(value); end
845
+ include Concurrent::Concern::Observable
846
+ end
847
+ module Concurrent::ThreadSafe
848
+ end
849
+ module Concurrent::ThreadSafe::Util
850
+ end
851
+ class Concurrent::Array < Array
852
+ end
853
+ class Concurrent::Hash < Hash
854
+ end
855
+ class Concurrent::Set < Set
856
+ end
857
+ class Concurrent::Collection::NonConcurrentMapBackend
858
+ def [](key); end
859
+ def []=(key, value); end
860
+ def _get(key); end
861
+ def _set(key, value); end
862
+ def clear; end
863
+ def compute(key); end
864
+ def compute_if_absent(key); end
865
+ def compute_if_present(key); end
866
+ def delete(key); end
867
+ def delete_pair(key, value); end
868
+ def dupped_backend; end
869
+ def each_pair; end
870
+ def get_and_set(key, value); end
871
+ def get_or_default(key, default_value); end
872
+ def initialize(options = nil); end
873
+ def initialize_copy(other); end
874
+ def key?(key); end
875
+ def merge_pair(key, value); end
876
+ def pair?(key, expected_value); end
877
+ def replace_if_exists(key, new_value); end
878
+ def replace_pair(key, old_value, new_value); end
879
+ def size; end
880
+ def store_computed_value(key, new_value); end
881
+ end
882
+ class Concurrent::Collection::MriMapBackend < Concurrent::Collection::NonConcurrentMapBackend
883
+ def []=(key, value); end
884
+ def clear; end
885
+ def compute(key); end
886
+ def compute_if_absent(key); end
887
+ def compute_if_present(key); end
888
+ def delete(key); end
889
+ def delete_pair(key, value); end
890
+ def get_and_set(key, value); end
891
+ def initialize(options = nil); end
892
+ def merge_pair(key, value); end
893
+ def replace_if_exists(key, new_value); end
894
+ def replace_pair(key, old_value, new_value); end
895
+ end
896
+ class Concurrent::Map < Concurrent::Collection::MriMapBackend
897
+ def [](key); end
898
+ def each; end
899
+ def each_key; end
900
+ def each_pair; end
901
+ def each_value; end
902
+ def empty?; end
903
+ def fetch(key, default_value = nil); end
904
+ def fetch_or_store(key, default_value = nil); end
905
+ def get(key); end
906
+ def initialize(options = nil, &block); end
907
+ def initialize_copy(other); end
908
+ def inspect; end
909
+ def key(value); end
910
+ def keys; end
911
+ def marshal_dump; end
912
+ def marshal_load(hash); end
913
+ def populate_from(hash); end
914
+ def put(key, value); end
915
+ def put_if_absent(key, value); end
916
+ def raise_fetch_no_key; end
917
+ def validate_options_hash!(options); end
918
+ def value?(value); end
919
+ def values; end
920
+ end
921
+ class Concurrent::Tuple
922
+ def cas(i, old_value, new_value); end
923
+ def compare_and_set(i, old_value, new_value); end
924
+ def each; end
925
+ def get(i); end
926
+ def initialize(size); end
927
+ def set(i, value); end
928
+ def size; end
929
+ def volatile_get(i); end
930
+ def volatile_set(i, value); end
931
+ include Enumerable
932
+ end
933
+ module Concurrent::Async
934
+ def async; end
935
+ def await; end
936
+ def call; end
937
+ def cast; end
938
+ def init_synchronization; end
939
+ def self.included(base); end
940
+ def self.validate_argc(obj, method, *args); end
941
+ end
942
+ module Concurrent::Async::ClassMethods
943
+ def new(*args, &block); end
944
+ end
945
+ class Concurrent::Async::AsyncDelegator < Concurrent::Synchronization::LockableObject
946
+ def initialize(delegate); end
947
+ def method_missing(method, *args, &block); end
948
+ def perform; end
949
+ def respond_to_missing?(method, include_private = nil); end
950
+ end
951
+ class Concurrent::Async::AwaitDelegator
952
+ def initialize(delegate); end
953
+ def method_missing(method, *args, &block); end
954
+ def respond_to_missing?(method, include_private = nil); end
955
+ end
956
+ class Concurrent::Future < Concurrent::IVar
957
+ def cancel; end
958
+ def cancelled?; end
959
+ def execute; end
960
+ def initialize(opts = nil, &block); end
961
+ def ns_initialize(value, opts); end
962
+ def self.execute(opts = nil, &block); end
963
+ def set(value = nil, &block); end
964
+ def wait_or_cancel(timeout); end
965
+ end
966
+ class Concurrent::DependencyCounter
967
+ def initialize(count, &block); end
968
+ def update(time, value, reason); end
969
+ end
970
+ class Concurrent::Maybe < Concurrent::Synchronization::Object
971
+ def <=>(other); end
972
+ def fulfilled?; end
973
+ def initialize(just, nothing); end
974
+ def just; end
975
+ def just?; end
976
+ def nothing; end
977
+ def nothing?; end
978
+ def or(other); end
979
+ def reason; end
980
+ def rejected?; end
981
+ def self.from(*args); end
982
+ def self.just(value); end
983
+ def self.new(*args, &block); end
984
+ def self.nothing(error = nil); end
985
+ def value; end
986
+ include Comparable
987
+ end
988
+ class Concurrent::AbstractExchanger < Concurrent::Synchronization::Object
989
+ def do_exchange(value, timeout); end
990
+ def exchange!(value, timeout = nil); end
991
+ def exchange(value, timeout = nil); end
992
+ def initialize; end
993
+ def try_exchange(value, timeout = nil); end
994
+ end
995
+ class Concurrent::RubyExchanger < Concurrent::AbstractExchanger
996
+ def __initialize_atomic_fields__; end
997
+ def compare_and_set_slot(expected, value); end
998
+ def do_exchange(value, timeout); end
999
+ def initialize; end
1000
+ def self.new(*args, &block); end
1001
+ def slot; end
1002
+ def slot=(value); end
1003
+ def swap_slot(value); end
1004
+ def update_slot(&block); end
1005
+ end
1006
+ class Concurrent::RubyExchanger::Node < Concurrent::Synchronization::Object
1007
+ def __initialize_atomic_fields__; end
1008
+ def compare_and_set_value(expected, value); end
1009
+ def initialize(item); end
1010
+ def item; end
1011
+ def latch; end
1012
+ def self.new(*args, &block); end
1013
+ def swap_value(value); end
1014
+ def update_value(&block); end
1015
+ def value; end
1016
+ def value=(value); end
1017
+ end
1018
+ class Concurrent::Exchanger < Concurrent::RubyExchanger
1019
+ end
1020
+ module Concurrent::Synchronization::AbstractStruct
1021
+ def initialize(*values); end
1022
+ def length; end
1023
+ def members; end
1024
+ def ns_each; end
1025
+ def ns_each_pair; end
1026
+ def ns_equality(other); end
1027
+ def ns_get(member); end
1028
+ def ns_inspect; end
1029
+ def ns_merge(other, &block); end
1030
+ def ns_select; end
1031
+ def ns_to_h; end
1032
+ def ns_values; end
1033
+ def ns_values_at(indexes); end
1034
+ def pr_underscore(clazz); end
1035
+ def self.define_struct_class(parent, base, name, members, &block); end
1036
+ def size; end
1037
+ end
1038
+ module Concurrent::ImmutableStruct
1039
+ def ==(other); end
1040
+ def [](member); end
1041
+ def each(&block); end
1042
+ def each_pair(&block); end
1043
+ def inspect; end
1044
+ def merge(other, &block); end
1045
+ def select(&block); end
1046
+ def self.included(base); end
1047
+ def self.new(*args, &block); end
1048
+ def to_a; end
1049
+ def to_h; end
1050
+ def to_s; end
1051
+ def values; end
1052
+ def values_at(*indexes); end
1053
+ include Concurrent::Synchronization::AbstractStruct
1054
+ end
1055
+ module Concurrent::MutableStruct
1056
+ def ==(other); end
1057
+ def [](member); end
1058
+ def []=(member, value); end
1059
+ def each(&block); end
1060
+ def each_pair(&block); end
1061
+ def inspect; end
1062
+ def merge(other, &block); end
1063
+ def select(&block); end
1064
+ def self.new(*args, &block); end
1065
+ def to_a; end
1066
+ def to_h; end
1067
+ def to_s; end
1068
+ def values; end
1069
+ def values_at(*indexes); end
1070
+ include Concurrent::Synchronization::AbstractStruct
1071
+ end
1072
+ class Concurrent::MVar < Concurrent::Synchronization::Object
1073
+ def borrow(timeout = nil); end
1074
+ def empty?; end
1075
+ def full?; end
1076
+ def initialize(value = nil, opts = nil); end
1077
+ def modify!; end
1078
+ def modify(timeout = nil); end
1079
+ def put(value, timeout = nil); end
1080
+ def self.new(*args, &block); end
1081
+ def set!(value); end
1082
+ def synchronize(&block); end
1083
+ def take(timeout = nil); end
1084
+ def try_put!(value); end
1085
+ def try_take!; end
1086
+ def unlocked_empty?; end
1087
+ def unlocked_full?; end
1088
+ def wait_for_empty(timeout); end
1089
+ def wait_for_full(timeout); end
1090
+ def wait_while(condition, timeout); end
1091
+ include Concurrent::Concern::Dereferenceable
1092
+ end
1093
+ class Concurrent::PromiseExecutionError < StandardError
1094
+ end
1095
+ class Concurrent::Promise < Concurrent::IVar
1096
+ def catch(&block); end
1097
+ def complete(success, value, reason); end
1098
+ def execute; end
1099
+ def fail(reason = nil); end
1100
+ def flat_map(&block); end
1101
+ def initialize(opts = nil, &block); end
1102
+ def notify_child(child); end
1103
+ def ns_initialize(value, opts); end
1104
+ def on_error(&block); end
1105
+ def on_fulfill(result); end
1106
+ def on_reject(reason); end
1107
+ def on_success(&block); end
1108
+ def realize(task); end
1109
+ def rescue(&block); end
1110
+ def root?; end
1111
+ def self.aggregate(method, *promises); end
1112
+ def self.all?(*promises); end
1113
+ def self.any?(*promises); end
1114
+ def self.execute(opts = nil, &block); end
1115
+ def self.fulfill(value, opts = nil); end
1116
+ def self.reject(reason, opts = nil); end
1117
+ def self.zip(*promises); end
1118
+ def set(value = nil, &block); end
1119
+ def set_pending; end
1120
+ def set_state!(success, value, reason); end
1121
+ def synchronized_set_state!(success, value, reason); end
1122
+ def then(*args, &block); end
1123
+ def zip(*others); end
1124
+ end
1125
+ module Concurrent::SettableStruct
1126
+ def ==(other); end
1127
+ def [](member); end
1128
+ def []=(member, value); end
1129
+ def each(&block); end
1130
+ def each_pair(&block); end
1131
+ def inspect; end
1132
+ def merge(other, &block); end
1133
+ def select(&block); end
1134
+ def self.new(*args, &block); end
1135
+ def to_a; end
1136
+ def to_h; end
1137
+ def to_s; end
1138
+ def values; end
1139
+ def values_at(*indexes); end
1140
+ include Concurrent::Synchronization::AbstractStruct
1141
+ end
1142
+ class Concurrent::TimerTask < Concurrent::RubyExecutorService
1143
+ def <<(task); end
1144
+ def execute; end
1145
+ def execute_task(completion); end
1146
+ def execution_interval; end
1147
+ def execution_interval=(value); end
1148
+ def initialize(opts = nil, &task); end
1149
+ def ns_initialize(opts, &task); end
1150
+ def ns_kill_execution; end
1151
+ def ns_shutdown_execution; end
1152
+ def post(*args, &task); end
1153
+ def running?; end
1154
+ def schedule_next_task(interval = nil); end
1155
+ def self.execute(opts = nil, &task); end
1156
+ def timeout_interval; end
1157
+ def timeout_interval=(value); end
1158
+ def timeout_task(completion); end
1159
+ include Concurrent::Concern::Dereferenceable
1160
+ include Concurrent::Concern::Observable
1161
+ end
1162
+ class Concurrent::TVar < Concurrent::Synchronization::Object
1163
+ def initialize(value); end
1164
+ def self.new(*args, &block); end
1165
+ def unsafe_increment_version; end
1166
+ def unsafe_lock; end
1167
+ def unsafe_value; end
1168
+ def unsafe_value=(value); end
1169
+ def unsafe_version; end
1170
+ def value; end
1171
+ def value=(value); end
1172
+ end
1173
+ class Concurrent::Transaction
1174
+ def abort; end
1175
+ def commit; end
1176
+ def initialize; end
1177
+ def read(tvar); end
1178
+ def self.current; end
1179
+ def self.current=(transaction); end
1180
+ def unlock; end
1181
+ def valid?; end
1182
+ def write(tvar, value); end
1183
+ end
1184
+ class Concurrent::Transaction::ReadLogEntry < Struct
1185
+ def self.[](*arg0); end
1186
+ def self.inspect; end
1187
+ def self.members; end
1188
+ def self.new(*arg0); end
1189
+ def tvar; end
1190
+ def tvar=(_); end
1191
+ def version; end
1192
+ def version=(_); end
1193
+ end
1194
+ class Concurrent::Transaction::AbortError < StandardError
1195
+ end
1196
+ class Concurrent::Transaction::LeaveError < StandardError
1197
+ end
1198
+ class Concurrent::LockFreeStack < Concurrent::Synchronization::Object
1199
+ def __initialize_atomic_fields__; end
1200
+ def clear; end
1201
+ def clear_each(&block); end
1202
+ def clear_if(head); end
1203
+ def compare_and_clear(head); end
1204
+ def compare_and_pop(head); end
1205
+ def compare_and_push(head, value); end
1206
+ def compare_and_set_head(expected, value); end
1207
+ def each(head = nil); end
1208
+ def empty?(head = nil); end
1209
+ def head; end
1210
+ def head=(value); end
1211
+ def initialize(head = nil); end
1212
+ def inspect; end
1213
+ def peek; end
1214
+ def pop; end
1215
+ def push(value); end
1216
+ def replace_if(head, new_head); end
1217
+ def self.new(*args, &block); end
1218
+ def self.of1(value); end
1219
+ def self.of2(value1, value2); end
1220
+ def swap_head(value); end
1221
+ def to_s; end
1222
+ def update_head(&block); end
1223
+ include Enumerable
1224
+ end
1225
+ class Concurrent::LockFreeStack::Node
1226
+ def initialize(value, next_node); end
1227
+ def next_node; end
1228
+ def self.[](*arg0); end
1229
+ def value; end
1230
+ def value=(arg0); end
1231
+ end
1232
+ module Concurrent::ReInclude
1233
+ def extended(base); end
1234
+ def include(*modules); end
1235
+ def included(base); end
1236
+ end
1237
+ module Concurrent::Promises
1238
+ extend Concurrent::Promises::FactoryMethods
1239
+ end
1240
+ module Concurrent::Promises::FactoryMethods
1241
+ def any(*futures_and_or_events); end
1242
+ def any_event(*futures_and_or_events); end
1243
+ def any_event_on(default_executor, *futures_and_or_events); end
1244
+ def any_fulfilled_future(*futures_and_or_events); end
1245
+ def any_fulfilled_future_on(default_executor, *futures_and_or_events); end
1246
+ def any_resolved_future(*futures_and_or_events); end
1247
+ def any_resolved_future_on(default_executor, *futures_and_or_events); end
1248
+ def delay(*args, &task); end
1249
+ def delay_on(default_executor, *args, &task); end
1250
+ def fulfilled_future(value, default_executor = nil); end
1251
+ def future(*args, &task); end
1252
+ def future_on(default_executor, *args, &task); end
1253
+ def make_future(argument = nil, default_executor = nil); end
1254
+ def rejected_future(reason, default_executor = nil); end
1255
+ def resolvable_event; end
1256
+ def resolvable_event_on(default_executor = nil); end
1257
+ def resolvable_future; end
1258
+ def resolvable_future_on(default_executor = nil); end
1259
+ def resolved_event(default_executor = nil); end
1260
+ def resolved_future(fulfilled, value, reason, default_executor = nil); end
1261
+ def schedule(intended_time, *args, &task); end
1262
+ def schedule_on(default_executor, intended_time, *args, &task); end
1263
+ def zip(*futures_and_or_events); end
1264
+ def zip_events(*futures_and_or_events); end
1265
+ def zip_events_on(default_executor, *futures_and_or_events); end
1266
+ def zip_futures(*futures_and_or_events); end
1267
+ def zip_futures_on(default_executor, *futures_and_or_events); end
1268
+ extend Concurrent::Promises::FactoryMethods
1269
+ extend Concurrent::Promises::FactoryMethods::Configuration
1270
+ extend Concurrent::ReInclude
1271
+ include Concurrent::Promises::FactoryMethods::Configuration
1272
+ end
1273
+ module Concurrent::Promises::FactoryMethods::Configuration
1274
+ def default_executor; end
1275
+ end
1276
+ module Concurrent::Promises::InternalStates
1277
+ end
1278
+ class Concurrent::Promises::InternalStates::State
1279
+ def resolved?; end
1280
+ def to_sym; end
1281
+ end
1282
+ class Concurrent::Promises::InternalStates::Pending < Concurrent::Promises::InternalStates::State
1283
+ def resolved?; end
1284
+ def to_sym; end
1285
+ end
1286
+ class Concurrent::Promises::InternalStates::Reserved < Concurrent::Promises::InternalStates::Pending
1287
+ end
1288
+ class Concurrent::Promises::InternalStates::ResolvedWithResult < Concurrent::Promises::InternalStates::State
1289
+ def apply; end
1290
+ def fulfilled?; end
1291
+ def reason; end
1292
+ def resolved?; end
1293
+ def result; end
1294
+ def to_sym; end
1295
+ def value; end
1296
+ end
1297
+ class Concurrent::Promises::InternalStates::Fulfilled < Concurrent::Promises::InternalStates::ResolvedWithResult
1298
+ def apply(args, block); end
1299
+ def fulfilled?; end
1300
+ def initialize(value); end
1301
+ def reason; end
1302
+ def to_sym; end
1303
+ def value; end
1304
+ end
1305
+ class Concurrent::Promises::InternalStates::FulfilledArray < Concurrent::Promises::InternalStates::Fulfilled
1306
+ def apply(args, block); end
1307
+ end
1308
+ class Concurrent::Promises::InternalStates::Rejected < Concurrent::Promises::InternalStates::ResolvedWithResult
1309
+ def apply(args, block); end
1310
+ def fulfilled?; end
1311
+ def initialize(reason); end
1312
+ def reason; end
1313
+ def to_sym; end
1314
+ def value; end
1315
+ end
1316
+ class Concurrent::Promises::InternalStates::PartiallyRejected < Concurrent::Promises::InternalStates::ResolvedWithResult
1317
+ def apply(args, block); end
1318
+ def fulfilled?; end
1319
+ def initialize(value, reason); end
1320
+ def reason; end
1321
+ def to_sym; end
1322
+ def value; end
1323
+ end
1324
+ class Concurrent::Promises::AbstractEventFuture < Concurrent::Synchronization::Object
1325
+ def __initialize_atomic_fields__; end
1326
+ def add_callback(method, *args); end
1327
+ def add_callback_clear_delayed_node(node); end
1328
+ def add_callback_notify_blocked(promise, index); end
1329
+ def async_callback_on_resolution(state, executor, args, callback); end
1330
+ def blocks; end
1331
+ def call_callback(method, state, args); end
1332
+ def call_callbacks(state); end
1333
+ def callback_clear_delayed_node(state, node); end
1334
+ def callback_notify_blocked(state, promise, index); end
1335
+ def callbacks; end
1336
+ def chain(*args, &task); end
1337
+ def chain_on(executor, *args, &task); end
1338
+ def chain_resolvable(resolvable); end
1339
+ def compare_and_set_internal_state(expected, value); end
1340
+ def default_executor; end
1341
+ def initialize(promise, default_executor); end
1342
+ def inspect; end
1343
+ def internal_state; end
1344
+ def internal_state=(value); end
1345
+ def on_resolution!(*args, &callback); end
1346
+ def on_resolution(*args, &callback); end
1347
+ def on_resolution_using(executor, *args, &callback); end
1348
+ def pending?; end
1349
+ def promise; end
1350
+ def resolve_with(state, raise_on_reassign = nil, reserved = nil); end
1351
+ def resolved?; end
1352
+ def self.new(*args, &block); end
1353
+ def state; end
1354
+ def swap_internal_state(value); end
1355
+ def tangle(resolvable); end
1356
+ def to_s; end
1357
+ def touch; end
1358
+ def touched?; end
1359
+ def update_internal_state(&block); end
1360
+ def wait(timeout = nil); end
1361
+ def wait_until_resolved(timeout); end
1362
+ def waiting_threads; end
1363
+ def with_async(executor, *args, &block); end
1364
+ def with_default_executor(executor); end
1365
+ def with_hidden_resolvable; end
1366
+ include Concurrent::Promises::InternalStates
1367
+ end
1368
+ class Concurrent::Promises::Event < Concurrent::Promises::AbstractEventFuture
1369
+ def &(other); end
1370
+ def any(event_or_future); end
1371
+ def callback_on_resolution(state, args, callback); end
1372
+ def delay; end
1373
+ def rejected_resolution(raise_on_reassign, state); end
1374
+ def schedule(intended_time); end
1375
+ def then(*args, &task); end
1376
+ def to_event; end
1377
+ def to_future; end
1378
+ def with_default_executor(executor); end
1379
+ def zip(other); end
1380
+ def |(event_or_future); end
1381
+ end
1382
+ class Concurrent::Promises::Future < Concurrent::Promises::AbstractEventFuture
1383
+ def &(other); end
1384
+ def any(event_or_future); end
1385
+ def apply(args, block); end
1386
+ def async_callback_on_fulfillment(state, executor, args, callback); end
1387
+ def async_callback_on_rejection(state, executor, args, callback); end
1388
+ def callback_on_fulfillment(state, args, callback); end
1389
+ def callback_on_rejection(state, args, callback); end
1390
+ def callback_on_resolution(state, args, callback); end
1391
+ def delay; end
1392
+ def exception(*args); end
1393
+ def flat(level = nil); end
1394
+ def flat_event; end
1395
+ def flat_future(level = nil); end
1396
+ def fulfilled?; end
1397
+ def inspect; end
1398
+ def on_fulfillment!(*args, &callback); end
1399
+ def on_fulfillment(*args, &callback); end
1400
+ def on_fulfillment_using(executor, *args, &callback); end
1401
+ def on_rejection!(*args, &callback); end
1402
+ def on_rejection(*args, &callback); end
1403
+ def on_rejection_using(executor, *args, &callback); end
1404
+ def reason(timeout = nil, timeout_value = nil); end
1405
+ def rejected?; end
1406
+ def rejected_resolution(raise_on_reassign, state); end
1407
+ def rescue(*args, &task); end
1408
+ def rescue_on(executor, *args, &task); end
1409
+ def result(timeout = nil); end
1410
+ def run(run_test = nil); end
1411
+ def run_test(v); end
1412
+ def schedule(intended_time); end
1413
+ def then(*args, &task); end
1414
+ def then_on(executor, *args, &task); end
1415
+ def to_event; end
1416
+ def to_future; end
1417
+ def to_s; end
1418
+ def value!(timeout = nil, timeout_value = nil); end
1419
+ def value(timeout = nil, timeout_value = nil); end
1420
+ def wait!(timeout = nil); end
1421
+ def wait_until_resolved!(timeout = nil); end
1422
+ def with_default_executor(executor); end
1423
+ def zip(other); end
1424
+ def |(event_or_future); end
1425
+ end
1426
+ module Concurrent::Promises::Resolvable
1427
+ include Concurrent::Promises::InternalStates
1428
+ end
1429
+ class Concurrent::Promises::ResolvableEvent < Concurrent::Promises::Event
1430
+ def resolve(raise_on_reassign = nil, reserved = nil); end
1431
+ def wait(timeout = nil, resolve_on_timeout = nil); end
1432
+ def with_hidden_resolvable; end
1433
+ include Concurrent::Promises::Resolvable
1434
+ end
1435
+ class Concurrent::Promises::ResolvableFuture < Concurrent::Promises::Future
1436
+ def evaluate_to!(*args, &block); end
1437
+ def evaluate_to(*args, &block); end
1438
+ def fulfill(value, raise_on_reassign = nil, reserved = nil); end
1439
+ def reason(timeout = nil, timeout_value = nil, resolve_on_timeout = nil); end
1440
+ def reject(reason, raise_on_reassign = nil, reserved = nil); end
1441
+ def resolve(fulfilled = nil, value = nil, reason = nil, raise_on_reassign = nil, reserved = nil); end
1442
+ def result(timeout = nil, resolve_on_timeout = nil); end
1443
+ def value!(timeout = nil, timeout_value = nil, resolve_on_timeout = nil); end
1444
+ def value(timeout = nil, timeout_value = nil, resolve_on_timeout = nil); end
1445
+ def wait!(timeout = nil, resolve_on_timeout = nil); end
1446
+ def wait(timeout = nil, resolve_on_timeout = nil); end
1447
+ def with_hidden_resolvable; end
1448
+ include Concurrent::Promises::Resolvable
1449
+ end
1450
+ class Concurrent::Promises::AbstractPromise < Concurrent::Synchronization::Object
1451
+ def default_executor; end
1452
+ def delayed_because; end
1453
+ def evaluate_to(*args, block); end
1454
+ def event; end
1455
+ def future; end
1456
+ def initialize(future); end
1457
+ def inspect; end
1458
+ def resolve_with(new_state, raise_on_reassign = nil); end
1459
+ def self.new(*args, &block); end
1460
+ def state; end
1461
+ def to_s; end
1462
+ def touch; end
1463
+ include Concurrent::Promises::InternalStates
1464
+ end
1465
+ class Concurrent::Promises::ResolvableEventPromise < Concurrent::Promises::AbstractPromise
1466
+ def initialize(default_executor); end
1467
+ end
1468
+ class Concurrent::Promises::ResolvableFuturePromise < Concurrent::Promises::AbstractPromise
1469
+ def evaluate_to(*args, block); end
1470
+ def initialize(default_executor); end
1471
+ end
1472
+ class Concurrent::Promises::InnerPromise < Concurrent::Promises::AbstractPromise
1473
+ end
1474
+ class Concurrent::Promises::BlockedPromise < Concurrent::Promises::InnerPromise
1475
+ def blocked_by; end
1476
+ def clear_and_propagate_touch(stack_or_element = nil); end
1477
+ def delayed_because; end
1478
+ def initialize(delayed, blockers_count, future); end
1479
+ def on_blocker_resolution(future, index); end
1480
+ def on_resolvable(resolved_future, index); end
1481
+ def process_on_blocker_resolution(future, index); end
1482
+ def resolvable?(countdown, future, index); end
1483
+ def self.add_delayed(delayed1, delayed2); end
1484
+ def self.new(*args, &block); end
1485
+ def self.new_blocked_by(blockers, *args, &block); end
1486
+ def self.new_blocked_by1(blocker, *args, &block); end
1487
+ def self.new_blocked_by2(blocker1, blocker2, *args, &block); end
1488
+ def touch; end
1489
+ end
1490
+ class Concurrent::Promises::BlockedTaskPromise < Concurrent::Promises::BlockedPromise
1491
+ def executor; end
1492
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task); end
1493
+ end
1494
+ class Concurrent::Promises::ThenPromise < Concurrent::Promises::BlockedTaskPromise
1495
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task); end
1496
+ def on_resolvable(resolved_future, index); end
1497
+ end
1498
+ class Concurrent::Promises::RescuePromise < Concurrent::Promises::BlockedTaskPromise
1499
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task); end
1500
+ def on_resolvable(resolved_future, index); end
1501
+ end
1502
+ class Concurrent::Promises::ChainPromise < Concurrent::Promises::BlockedTaskPromise
1503
+ def on_resolvable(resolved_future, index); end
1504
+ end
1505
+ class Concurrent::Promises::ImmediateEventPromise < Concurrent::Promises::InnerPromise
1506
+ def initialize(default_executor); end
1507
+ end
1508
+ class Concurrent::Promises::ImmediateFuturePromise < Concurrent::Promises::InnerPromise
1509
+ def initialize(default_executor, fulfilled, value, reason); end
1510
+ end
1511
+ class Concurrent::Promises::AbstractFlatPromise < Concurrent::Promises::BlockedPromise
1512
+ def add_delayed_of(future); end
1513
+ def initialize(delayed_because, blockers_count, event_or_future); end
1514
+ def on_resolvable(resolved_future, index); end
1515
+ def resolvable?(countdown, future, index); end
1516
+ def touch; end
1517
+ def touched?; end
1518
+ end
1519
+ class Concurrent::Promises::FlatEventPromise < Concurrent::Promises::AbstractFlatPromise
1520
+ def initialize(delayed, blockers_count, default_executor); end
1521
+ def process_on_blocker_resolution(future, index); end
1522
+ end
1523
+ class Concurrent::Promises::FlatFuturePromise < Concurrent::Promises::AbstractFlatPromise
1524
+ def initialize(delayed, blockers_count, levels, default_executor); end
1525
+ def process_on_blocker_resolution(future, index); end
1526
+ end
1527
+ class Concurrent::Promises::RunFuturePromise < Concurrent::Promises::AbstractFlatPromise
1528
+ def initialize(delayed, blockers_count, default_executor, run_test); end
1529
+ def process_on_blocker_resolution(future, index); end
1530
+ end
1531
+ class Concurrent::Promises::ZipEventEventPromise < Concurrent::Promises::BlockedPromise
1532
+ def initialize(delayed, blockers_count, default_executor); end
1533
+ def on_resolvable(resolved_future, index); end
1534
+ end
1535
+ class Concurrent::Promises::ZipFutureEventPromise < Concurrent::Promises::BlockedPromise
1536
+ def initialize(delayed, blockers_count, default_executor); end
1537
+ def on_resolvable(resolved_future, index); end
1538
+ def process_on_blocker_resolution(future, index); end
1539
+ end
1540
+ class Concurrent::Promises::EventWrapperPromise < Concurrent::Promises::BlockedPromise
1541
+ def initialize(delayed, blockers_count, default_executor); end
1542
+ def on_resolvable(resolved_future, index); end
1543
+ end
1544
+ class Concurrent::Promises::FutureWrapperPromise < Concurrent::Promises::BlockedPromise
1545
+ def initialize(delayed, blockers_count, default_executor); end
1546
+ def on_resolvable(resolved_future, index); end
1547
+ end
1548
+ class Concurrent::Promises::ZipFuturesPromise < Concurrent::Promises::BlockedPromise
1549
+ def initialize(delayed, blockers_count, default_executor); end
1550
+ def on_resolvable(resolved_future, index); end
1551
+ def process_on_blocker_resolution(future, index); end
1552
+ end
1553
+ class Concurrent::Promises::ZipEventsPromise < Concurrent::Promises::BlockedPromise
1554
+ def initialize(delayed, blockers_count, default_executor); end
1555
+ def on_resolvable(resolved_future, index); end
1556
+ end
1557
+ class Concurrent::Promises::AbstractAnyPromise < Concurrent::Promises::BlockedPromise
1558
+ end
1559
+ class Concurrent::Promises::AnyResolvedEventPromise < Concurrent::Promises::AbstractAnyPromise
1560
+ def initialize(delayed, blockers_count, default_executor); end
1561
+ def on_resolvable(resolved_future, index); end
1562
+ def resolvable?(countdown, future, index); end
1563
+ end
1564
+ class Concurrent::Promises::AnyResolvedFuturePromise < Concurrent::Promises::AbstractAnyPromise
1565
+ def initialize(delayed, blockers_count, default_executor); end
1566
+ def on_resolvable(resolved_future, index); end
1567
+ def resolvable?(countdown, future, index); end
1568
+ end
1569
+ class Concurrent::Promises::AnyFulfilledFuturePromise < Concurrent::Promises::AnyResolvedFuturePromise
1570
+ def resolvable?(countdown, future, index); end
1571
+ end
1572
+ class Concurrent::Promises::DelayPromise < Concurrent::Promises::InnerPromise
1573
+ def delayed_because; end
1574
+ def initialize(default_executor); end
1575
+ def touch; end
1576
+ end
1577
+ class Concurrent::Promises::ScheduledPromise < Concurrent::Promises::InnerPromise
1578
+ def initialize(default_executor, intended_time); end
1579
+ def inspect; end
1580
+ def intended_time; end
1581
+ end
1582
+ class Concurrent::SynchronizedDelegator < SimpleDelegator
1583
+ def initialize(obj); end
1584
+ def method_missing(method, *args, &block); end
1585
+ def setup; end
1586
+ def teardown; end
1587
+ end