Package io.temporal.internal.worker
Class EagerActivityDispatcher.NoopEagerActivityDispatcher
- java.lang.Object
-
- io.temporal.internal.worker.EagerActivityDispatcher.NoopEagerActivityDispatcher
-
- All Implemented Interfaces:
EagerActivityDispatcher
- Enclosing interface:
- EagerActivityDispatcher
public static class EagerActivityDispatcher.NoopEagerActivityDispatcher extends java.lang.Object implements EagerActivityDispatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.temporal.internal.worker.EagerActivityDispatcher
EagerActivityDispatcher.NoopEagerActivityDispatcher
-
-
Constructor Summary
Constructors Constructor Description NoopEagerActivityDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatchActivity(io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse activity)
void
releaseActivitySlotReservations(int slotCounts)
boolean
tryReserveActivitySlot(io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesOrBuilder commandAttributes)
-
-
-
Method Detail
-
tryReserveActivitySlot
public boolean tryReserveActivitySlot(io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesOrBuilder commandAttributes)
- Specified by:
tryReserveActivitySlot
in interfaceEagerActivityDispatcher
-
releaseActivitySlotReservations
public void releaseActivitySlotReservations(int slotCounts)
- Specified by:
releaseActivitySlotReservations
in interfaceEagerActivityDispatcher
-
dispatchActivity
public void dispatchActivity(io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse activity)
- Specified by:
dispatchActivity
in interfaceEagerActivityDispatcher
-
-