Package io.temporal.client
Class ActivityWorkerShutdownException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.failure.TemporalException
-
- io.temporal.client.ActivityCompletionException
-
- io.temporal.client.ActivityWorkerShutdownException
-
- All Implemented Interfaces:
java.io.Serializable
public final class ActivityWorkerShutdownException extends ActivityCompletionException
Indicates thatWorkerFactory.shutdown()
orWorkerFactory.shutdownNow()
was called. It is OK to ignore the exception to let activity to complete. It assumes thatWorkerFactory.awaitTermination(long, TimeUnit)
is called with a timeout larger than the activity execution time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityWorkerShutdownException()
ActivityWorkerShutdownException(ActivityInfo info)
-
Method Summary
-
Methods inherited from class io.temporal.client.ActivityCompletionException
getActivityId, getActivityType, getRunId, getWorkflowId
-
-
-
-
Constructor Detail
-
ActivityWorkerShutdownException
public ActivityWorkerShutdownException(ActivityInfo info)
-
ActivityWorkerShutdownException
public ActivityWorkerShutdownException()
-
-