public class TaskTracker extends Object
| Constructor and Description |
|---|
TaskTracker(int defaultMaxTasks) |
TaskTracker(TaskTracker existing) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependentTask(Task<?> dependent) |
void |
addTask(Task<?> task)
this method is used to identify all the tasks in a graph.
|
void |
addTaskList(List<Task<?>> taskList) |
boolean |
canAddMoreTasks() |
void |
debugLog(String forEventType) |
boolean |
hasReplicationState() |
boolean |
hasTasks() |
int |
numberOfTasks() |
ReplicationState |
replicationState() |
void |
setReplicationState(ReplicationState state) |
List<Task<?>> |
tasks() |
void |
update(TaskTracker withAnother) |
public TaskTracker(int defaultMaxTasks)
public TaskTracker(TaskTracker existing)
public void addTask(Task<?> task)
public void addDependentTask(Task<?> dependent)
public boolean canAddMoreTasks()
public boolean hasTasks()
public void update(TaskTracker withAnother)
public void setReplicationState(ReplicationState state)
public boolean hasReplicationState()
public ReplicationState replicationState()
public void debugLog(String forEventType)
public int numberOfTasks()
Copyright © 2024 The Apache Software Foundation. All rights reserved.