Module: Temporalio::Worker::Tuner::SlotSupplier::Custom::SlotInfo
- Defined in:
- lib/temporalio/worker/tuner.rb
Overview
Slot information.
Constant Summary collapse
- Workflow =
Information about a workflow slot.
Data.define(:workflow_type, :sticky?)
- Activity =
Information about an activity slot.
Data.define(:activity_type)
- LocalActivity =
Information about a local activity slot.
Data.define(:activity_type)
- Nexus =
Information about a Nexus slot.
Data.define(:service, :operation)
Instance Attribute Summary collapse
-
#activity_type ⇒ String
Activity type.
-
#operation ⇒ String
Nexus operation.
-
#service ⇒ String
Nexus service.
-
#sticky? ⇒ Boolean
Whether the slot was for a sticky task.
-
#workflow_type ⇒ String
Workflow type.
Instance Attribute Details
#activity_type ⇒ String
Returns Activity type.
207 |
# File 'lib/temporalio/worker/tuner.rb', line 207 Activity = Data.define(:activity_type) |
#operation ⇒ String
Returns Nexus operation.
221 |
# File 'lib/temporalio/worker/tuner.rb', line 221 Nexus = Data.define(:service, :operation) |
#service ⇒ String
Returns Nexus service.
221 |
# File 'lib/temporalio/worker/tuner.rb', line 221 Nexus = Data.define(:service, :operation) |
#sticky? ⇒ Boolean
Returns Whether the slot was for a sticky task.
201 |
# File 'lib/temporalio/worker/tuner.rb', line 201 Workflow = Data.define(:workflow_type, :sticky?) |
#workflow_type ⇒ String
Returns Workflow type.
201 |
# File 'lib/temporalio/worker/tuner.rb', line 201 Workflow = Data.define(:workflow_type, :sticky?) |