public abstract class DefaultScheduledGlobalTaskService extends Object implements ScheduledTaskService
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultScheduledGlobalTaskService(ScheduledExecutorService scheduledExecutor,
RunningScheduledTasksCacheService runningScheduledTasksCacheService) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ScheduledTaskSettings |
createScheduledTaskSettings() |
protected abstract void |
runTask() |
void |
scheduleTask()
Method will schedule a global task for ITF instance without binding with projects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTaskTypeprotected DefaultScheduledGlobalTaskService(ScheduledExecutorService scheduledExecutor, RunningScheduledTasksCacheService runningScheduledTasksCacheService)
public void scheduleTask()
ScheduledTaskSettings object is used for schedule task
with project settings (delay, possibility of scheduling).
RunningScheduledTasksCacheService
to support multi-replica ITF instance.
The current executive task will not be duplicated when it is scheduled and run on another replica.scheduleTask in interface ScheduledTaskServiceprotected abstract void runTask()
protected abstract ScheduledTaskSettings createScheduledTaskSettings()
Copyright © 2025. All rights reserved.