clean-architecture 5.0.2 → 6.0.0

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