Class: Artifactory::Cleaner::Controller::ProcessingQueues
- Inherits:
-
Struct
- Object
- Struct
- Artifactory::Cleaner::Controller::ProcessingQueues
- Defined in:
- lib/artifactory/cleaner/controller.rb
Overview
Struct to contain the processing queues used internally within the controller
The controller contains two Queues which are used for multi-threaded processing of artifacts. The :incoming queue is fed tasks to be done, which Artifactory::Cleaner::DiscoveryWorker instances pop from, process, and push the results back into the :outgoing queue. The Artifactory::Cleaner::Controller will then pop from the outgoing queue and send the results back to the caller
Instance Attribute Summary collapse
-
#incoming ⇒ Object
Returns the value of attribute incoming.
-
#outgoing ⇒ Object
Returns the value of attribute outgoing.
Instance Attribute Details
#incoming ⇒ Object
Returns the value of attribute incoming
20 21 22 |
# File 'lib/artifactory/cleaner/controller.rb', line 20 def incoming @incoming end |
#outgoing ⇒ Object
Returns the value of attribute outgoing
20 21 22 |
# File 'lib/artifactory/cleaner/controller.rb', line 20 def outgoing @outgoing end |