public class

TaskStateModel

extends TransitionHandler
java.lang.Object
   ↳ org.apache.helix.api.TransitionHandler
     ↳ org.apache.helix.taskexecution.TaskStateModel

Summary

[Expand]
Inherited Constants
From class org.apache.helix.api.TransitionHandler
[Expand]
Inherited Fields
From class org.apache.helix.api.TransitionHandler
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.api.TransitionHandler
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