public final enum

TaskState

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.apache.helix.task.TaskState

Class Overview

Enumeration of current task states. This value is stored in the rebalancer context.

Summary

Enum Values
TaskState  COMPLETED  All the task partitions have completed normally. 
TaskState  FAILED  The task has failed. 
TaskState  IN_PROGRESS  The task is in progress. 
TaskState  NOT_STARTED  The task has yet to start  
TaskState  STOPPED  The task has been stopped. 
Public Methods
static TaskState valueOf(String name)
final static TaskState[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final TaskState COMPLETED

All the task partitions have completed normally.

public static final TaskState FAILED

The task has failed. It cannot be resumed.

public static final TaskState IN_PROGRESS

The task is in progress.

public static final TaskState NOT_STARTED

The task has yet to start

public static final TaskState STOPPED

The task has been stopped. It may be resumed later.

Public Methods

public static TaskState valueOf (String name)

public static final TaskState[] values ()