Package io.temporal.internal.worker
Interface EagerActivityDispatcher
-
- All Known Implementing Classes:
EagerActivityDispatcher.NoopEagerActivityDispatcher
public interface EagerActivityDispatcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEagerActivityDispatcher.NoopEagerActivityDispatcher
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispatchActivity(io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse activity, SlotPermit permit)voidreleaseActivitySlotReservations(java.lang.Iterable<SlotPermit> permits)java.util.Optional<SlotPermit>tryReserveActivitySlot(io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesOrBuilder commandAttributes)
-
-
-
Method Detail
-
tryReserveActivitySlot
java.util.Optional<SlotPermit> tryReserveActivitySlot(io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesOrBuilder commandAttributes)
-
releaseActivitySlotReservations
void releaseActivitySlotReservations(java.lang.Iterable<SlotPermit> permits)
-
dispatchActivity
void dispatchActivity(io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse activity, SlotPermit permit)
-
-