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