Class: Temporalio::Worker::Tuner::SlotSupplier::Custom::MarkUsedContext

Inherits:
Data
  • Object
show all
Defined in:
lib/temporalio/worker/tuner.rb

Overview

Context provided for marking a slot used.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#permitObject (readonly)

Returns the value of attribute permit

Returns:

  • (Object)

    the current value of permit



98
99
100
101
# File 'lib/temporalio/worker/tuner.rb', line 98

MarkUsedContext = Data.define(
  :slot_info,
  :permit
)

#slot_infoObject (readonly)

Returns the value of attribute slot_info

Returns:

  • (Object)

    the current value of slot_info



98
99
100
101
# File 'lib/temporalio/worker/tuner.rb', line 98

MarkUsedContext = Data.define(
  :slot_info,
  :permit
)

Instance Method Details

#permit=(value) ⇒ Object (readonly)

Returns Object that was provided as the permit on reserve.

Returns:

  • (Object)

    Object that was provided as the permit on reserve.



98
99
100
101
# File 'lib/temporalio/worker/tuner.rb', line 98

MarkUsedContext = Data.define(
  :slot_info,
  :permit
)

#slot_info=(value) ⇒ SlotInfo::Workflow, ... (readonly)

Returns Information about the slot. This is never nil.

Returns:



98
99
100
101
# File 'lib/temporalio/worker/tuner.rb', line 98

MarkUsedContext = Data.define(
  :slot_info,
  :permit
)