java.lang.Object
org.autogui.base.mapping.GuiMappingContext.DelayedTask
- Enclosing class:
GuiMappingContext
a task for update propagation.
frequently created tasks are aggregated for each task-type
getTaskType()
.
and sorted by each clock getTaskType()
and
last one is executed run(List)
with taking accumulated tasks of same task-type.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Consumer
<List<GuiMappingContext.DelayedTask>> protected GuiTaskClock
protected Object
-
Constructor Summary
ConstructorsConstructorDescriptionDelayedTask
(GuiTaskClock taskClock, Object taskType, Consumer<List<GuiMappingContext.DelayedTask>> task) -
Method Summary
-
Field Details
-
taskClock
-
taskType
-
task
-
-
Constructor Details
-
DelayedTask
public DelayedTask(GuiTaskClock taskClock, Object taskType, Consumer<List<GuiMappingContext.DelayedTask>> task)
-
-
Method Details
-
getTaskClock
-
getTaskType
-
run
-