executeAfter
Plan job for further execution in the worker. operation parameter must be either frozen, or execution to be
planned on the current worker. Otherwise IllegalStateException will be thrown.
With -Xworker-exception-handling=use-hook, if the worker was created with errorReporting
set to true, any exception escaping from operation will
be handled by processUnhandledException.
Parameters
afterMicroseconds
- defines after how many microseconds delay execution shall happen, 0 means immediately,
Exceptions
IllegalArgumentException
- on negative values of afterMicroseconds.
IllegalStateException
- if operation parameter is not frozen and worker is not current.