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