public final class ActivityWorkerShutdownException extends ActivityCompletionException
WorkerFactory.shutdown()
or WorkerFactory.shutdownNow()
was
called. It is OK to ignore the exception to let activity to complete. It assumes that WorkerFactory.awaitTermination(long, TimeUnit)
is called with a timeout larger than the activity
execution time.Constructor and Description |
---|
ActivityWorkerShutdownException() |
ActivityWorkerShutdownException(ActivityInfo info) |
getActivityId, getActivityType, getRunId, getWorkflowId
public ActivityWorkerShutdownException(ActivityInfo info)
public ActivityWorkerShutdownException()