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
readonly
Returns the value of attribute permit.
-
#slot_info ⇒ Object
readonly
Returns the value of attribute slot_info.
Instance Method Summary collapse
-
#permit(value) ⇒ Object
readonly
Object that was provided as the permit on reserve.
-
#slot_info(value) ⇒ SlotInfo::Workflow, ...
readonly
Information about the slot.
Instance Attribute Details
#permit ⇒ Object (readonly)
Returns the value of attribute permit
110 111 112 113 |
# File 'lib/temporalio/worker/tuner.rb', line 110 ReleaseContext = Data.define( :slot_info, :permit ) |
#slot_info ⇒ Object (readonly)
Returns the value of attribute slot_info
110 111 112 113 |
# File 'lib/temporalio/worker/tuner.rb', line 110 ReleaseContext = Data.define( :slot_info, :permit ) |
Instance Method Details
#permit=(value) ⇒ Object (readonly)
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=(value) ⇒ SlotInfo::Workflow, ... (readonly)
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 ) |