Interface IPriorityWorkSchedulerWrapper
-
- All Known Implementing Classes:
BaseExecutor
public interface IPriorityWorkSchedulerWrapperInterface for the Priority Work Scheduler wrapper, which owns the scheduler (BaseExecutor)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvokeWork(java.util.concurrent.ForkJoinTask topAction, Priority priority)Blocking execution of the work, returns when work is completevoidsubmitWork(PriorityWorkTask task)Non-blocking, submit the task to the work executor
-
-
-
Method Detail
-
invokeWork
void invokeWork(java.util.concurrent.ForkJoinTask topAction, Priority priority)Blocking execution of the work, returns when work is complete- Parameters:
topAction- top level recursive action to forkpriority- work priority level
-
submitWork
void submitWork(PriorityWorkTask task)
Non-blocking, submit the task to the work executor- Parameters:
task- task object to execute
-
-