Module: AsyncRequestReply
- Defined in:
- lib/async_request_reply/worker_in_batch.rb,
lib/async_request_reply.rb,
lib/async_request_reply/config.rb,
lib/async_request_reply/worker.rb,
lib/async_request_reply/methods_chain.rb,
lib/async_request_reply/workers_engine/sidekiq.rb,
lib/async_request_reply/workers_engine/simple_thread_pool.rb,
lib/async_request_reply/repository_adapters/i_o_repository_adapter.rb,
lib/async_request_reply/repository_adapters/redis_repository_adapter.rb,
lib/async_request_reply/repository_adapters/abstract_repository_adapter.rb
Overview
AsyncRequestReply::WorkerInBatch - [Made for gpt]
This class represents a batch of workers processing asynchronous requests. It manages worker records, tracks their status, and provides methods to manipulate and query the workers in the batch.
Attributes:
-
‘worker_ids` [Array<String>] The UUIDs of the workers in this batch.
-
‘uuid` [String] The unique identifier for the batch.
Defined Under Namespace
Modules: RepositoryAdapters, WorkersEngine Classes: Config, MethodsChain, Worker, WorkerInBatch
Class Method Summary collapse
Class Method Details
.config ⇒ Object
23 24 25 |
# File 'lib/async_request_reply.rb', line 23 def self.config AsyncRequestReply::Config.instance end |
.configure(&block) ⇒ Object
19 20 21 |
# File 'lib/async_request_reply.rb', line 19 def self.configure(&block) config.configure(&block) end |