public class

DefaultParticipantErrorMessageHandlerFactory

extends Object
implements MessageHandlerFactory
java.lang.Object
   ↳ org.apache.helix.manager.zk.DefaultParticipantErrorMessageHandlerFactory

Class Overview

DefaultParticipantErrorMessageHandlerFactory works on controller side. When the participant detects a critical error, it will send the PARTICIPANT_ERROR_REPORT Message to the controller, specifying whether it want to disable the instance or disable the partition. The controller have a chance to do whatever make sense at that point, and then disable the corresponding partition or the instance. More configs per resource will be added to customize the controller behavior.

Summary

Nested Classes
enum DefaultParticipantErrorMessageHandlerFactory.ActionOnError  
class DefaultParticipantErrorMessageHandlerFactory.DefaultParticipantErrorMessageHandler  
Constants
String ACTIONKEY
Public Constructors
DefaultParticipantErrorMessageHandlerFactory(HelixManager manager)
Public Methods
MessageHandler createHandler(Message message, NotificationContext context)
String getMessageType()
void reset()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.helix.messaging.handling.MessageHandlerFactory

Constants

public static final String ACTIONKEY

Constant Value: "ActionOnError"

Public Constructors

public DefaultParticipantErrorMessageHandlerFactory (HelixManager manager)

Public Methods

public MessageHandler createHandler (Message message, NotificationContext context)

public String getMessageType ()

public void reset ()