Class: Temporalio::Worker::Tuner::SlotSupplier::Custom::ReleaseContext
- Inherits:
-
Data
- Object
- Data
- Temporalio::Worker::Tuner::SlotSupplier::Custom::ReleaseContext
- Defined in:
- lib/temporalio/worker/tuner.rb
Overview
Context provided for releasing a slot.
Instance Attribute Summary collapse
-
#permit ⇒ Object
Object that was provided as the permit on reserve.
-
#slot_info ⇒ SlotInfo::Workflow, ...
Information about the slot.
Instance Attribute Details
#permit ⇒ Object
Returns Object that was provided as the permit on reserve.
110 111 112 113 |
# File 'lib/temporalio/worker/tuner.rb', line 110 ReleaseContext = Data.define( :slot_info, :permit ) |
#slot_info ⇒ SlotInfo::Workflow, ...
Returns Information about the slot. This may be nil if the slot was never used.
110 111 112 113 |
# File 'lib/temporalio/worker/tuner.rb', line 110 ReleaseContext = Data.define( :slot_info, :permit ) |