Search in sources :

Example 1 with StartFailbackTask

use of org.apache.asterix.app.nc.task.StartFailbackTask in project asterixdb by apache.

the class AutoFaultToleranceStrategy method buildFailbackStartupSequence.

private List<INCLifecycleTask> buildFailbackStartupSequence() {
    final List<INCLifecycleTask> tasks = new ArrayList<>();
    tasks.add(new StartFailbackTask());
    tasks.add(new ReportMaxResourceIdTask());
    tasks.add(new StartLifecycleComponentsTask());
    return tasks;
}
Also used : ReportMaxResourceIdTask(org.apache.asterix.app.nc.task.ReportMaxResourceIdTask) StartLifecycleComponentsTask(org.apache.asterix.app.nc.task.StartLifecycleComponentsTask) ArrayList(java.util.ArrayList) StartFailbackTask(org.apache.asterix.app.nc.task.StartFailbackTask) INCLifecycleTask(org.apache.asterix.common.api.INCLifecycleTask)

Aggregations

ArrayList (java.util.ArrayList)1 ReportMaxResourceIdTask (org.apache.asterix.app.nc.task.ReportMaxResourceIdTask)1 StartFailbackTask (org.apache.asterix.app.nc.task.StartFailbackTask)1 StartLifecycleComponentsTask (org.apache.asterix.app.nc.task.StartLifecycleComponentsTask)1 INCLifecycleTask (org.apache.asterix.common.api.INCLifecycleTask)1