Package io.temporal.worker.tuning
Interface WorkerTuner
-
- All Known Implementing Classes:
CompositeTuner
,ResourceBasedTuner
public interface WorkerTuner
WorkerTuners allow for the dynamic customization of some aspects of worker configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SlotSupplier<ActivitySlotInfo>
getActivityTaskSlotSupplier()
SlotSupplier<LocalActivitySlotInfo>
getLocalActivitySlotSupplier()
SlotSupplier<WorkflowSlotInfo>
getWorkflowTaskSlotSupplier()
-
-
-
Method Detail
-
getWorkflowTaskSlotSupplier
@Nonnull SlotSupplier<WorkflowSlotInfo> getWorkflowTaskSlotSupplier()
- Returns:
- A
SlotSupplier
for workflow tasks.
-
getActivityTaskSlotSupplier
@Nonnull SlotSupplier<ActivitySlotInfo> getActivityTaskSlotSupplier()
- Returns:
- A
SlotSupplier
for activity tasks.
-
getLocalActivitySlotSupplier
@Nonnull SlotSupplier<LocalActivitySlotInfo> getLocalActivitySlotSupplier()
- Returns:
- A
SlotSupplier
for local activities.
-
-