Class ActivityWorkerShutdownException

All Implemented Interfaces:
Serializable

public final class ActivityWorkerShutdownException extends ActivityCompletionException
Indicates that WorkerFactory.shutdown() or WorkerFactory.shutdownNow() was called. It is OK to ignore the exception to let the activity complete. It assumes that WorkerFactory.awaitTermination(long, TimeUnit) is called with a timeout larger than the activity execution time.
See Also:
  • Constructor Details

    • ActivityWorkerShutdownException

      public ActivityWorkerShutdownException(ActivityInfo info)
    • ActivityWorkerShutdownException

      public ActivityWorkerShutdownException()