public class

TaskStateModel

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

Summary

[Expand]
Inherited Fields
From class org.apache.helix.participant.statemachine.StateModel
Public Constructors
TaskStateModel(String workerId, String partition, TaskFactory taskFactory, TaskResultStore taskResultStore)
Public Methods
void onBecomeDroppedFromOffline(Message message, NotificationContext context)
void onBecomeOfflineFromError(Message message, NotificationContext context)
void onBecomeOfflineFromOnline(Message message, NotificationContext context)
void onBecomeOnlineFromOffline(Message message, 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 (String workerId, String partition, TaskFactory taskFactory, TaskResultStore taskResultStore)

Public Methods

public void onBecomeDroppedFromOffline (Message message, NotificationContext context)

public void onBecomeOfflineFromError (Message message, NotificationContext context)

public void onBecomeOfflineFromOnline (Message message, NotificationContext context)

public void onBecomeOnlineFromOffline (Message message, NotificationContext context)

Throws
Exception

public void reset ()

Called when the state model is reset