public class

TaskStateModel

extends StateModel
java.lang.Object
   ↳ org.apache.helix.participant.statemachine.StateModel
     ↳ org.apache.helix.task.TaskStateModel

Summary

[Expand]
Inherited Fields
From class org.apache.helix.participant.statemachine.StateModel
Public Constructors
TaskStateModel(HelixManager manager, Map<StringTaskFactory> taskFactoryRegistry)
Public Methods
void onBecomeCompletedFromRunning(Message msg, NotificationContext context)
void onBecomeDroppedFromCompleted(Message msg, NotificationContext context)
void onBecomeDroppedFromInit(Message msg, NotificationContext context)
void onBecomeDroppedFromRunning(Message msg, NotificationContext context)
void onBecomeDroppedFromStopped(Message msg, NotificationContext context)
void onBecomeDroppedFromTaskError(Message msg, NotificationContext context)
void onBecomeDroppedFromTimedOut(Message msg, NotificationContext context)
void onBecomeInitFromCompleted(Message msg, NotificationContext context)
void onBecomeInitFromRunning(Message msg, NotificationContext context)
void onBecomeInitFromStopped(Message msg, NotificationContext context)
void onBecomeInitFromTaskError(Message msg, NotificationContext context)
void onBecomeInitFromTimedOut(Message msg, NotificationContext context)
void onBecomeRunningFromInit(Message msg, NotificationContext context)
void onBecomeRunningFromStopped(Message msg, NotificationContext context)
String onBecomeStoppedFromRunning(Message msg, NotificationContext context)
String onBecomeTaskErrorFromRunning(Message msg, NotificationContext context)
String onBecomeTimedOutFromRunning(Message msg, NotificationContext context)
void reset()
Called when the state model is reset
[Expand]
Inherited Methods
From class org.apache.helix.participant.statemachine.StateModel
From class java.lang.Object

Public Constructors

public TaskStateModel (HelixManager manager, Map<StringTaskFactory> taskFactoryRegistry)

Public Methods

public void onBecomeCompletedFromRunning (Message msg, NotificationContext context)

public void onBecomeDroppedFromCompleted (Message msg, NotificationContext context)

public void onBecomeDroppedFromInit (Message msg, NotificationContext context)

public void onBecomeDroppedFromRunning (Message msg, NotificationContext context)

public void onBecomeDroppedFromStopped (Message msg, NotificationContext context)

public void onBecomeDroppedFromTaskError (Message msg, NotificationContext context)

public void onBecomeDroppedFromTimedOut (Message msg, NotificationContext context)

public void onBecomeInitFromCompleted (Message msg, NotificationContext context)

public void onBecomeInitFromRunning (Message msg, NotificationContext context)

public void onBecomeInitFromStopped (Message msg, NotificationContext context)

public void onBecomeInitFromTaskError (Message msg, NotificationContext context)

public void onBecomeInitFromTimedOut (Message msg, NotificationContext context)

public void onBecomeRunningFromInit (Message msg, NotificationContext context)

public void onBecomeRunningFromStopped (Message msg, NotificationContext context)

public String onBecomeStoppedFromRunning (Message msg, NotificationContext context)

public String onBecomeTaskErrorFromRunning (Message msg, NotificationContext context)

public String onBecomeTimedOutFromRunning (Message msg, NotificationContext context)

public void reset ()

Called when the state model is reset