persistent-dmnd 2.0.4 → 2.0.6

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