Interface ActivityExecutionContextFactory
- All Known Implementing Classes:
ActivityExecutionContextFactoryImpl,LocalActivityExecutionContextFactoryImpl
public interface ActivityExecutionContextFactory
-
Method Summary
Modifier and TypeMethodDescriptionbooleancleanupContext(byte[] taskToken, boolean cancel) Removes a context for a currently running activity identified by task token and optionally requests cancellation.createContext(io.temporal.internal.activity.ActivityInfoInternal info, Object activity, com.uber.m3.tally.Scope metricsScope)
-
Method Details
-
createContext
InternalActivityExecutionContext createContext(io.temporal.internal.activity.ActivityInfoInternal info, Object activity, com.uber.m3.tally.Scope metricsScope) -
cleanupContext
boolean cleanupContext(byte[] taskToken, boolean cancel) Removes a context for a currently running activity identified by task token and optionally requests cancellation.- Returns:
- true if the activity was found and cleaned up.
-