java.lang.Object | |
↳ | org.apache.helix.messaging.handling.MessageHandler |
Provides the base class for all message handlers.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MessageHandler.ErrorCode | |||||||||||
MessageHandler.ErrorType |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_message | The message to be handled | ||||||||||
_notificationContext | The context for handling the message. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Message handling routine.
| |||||||||||
Callback when error happens in the message handling pipeline.
| |||||||||||
Callback when the framework is about to interrupt the message handler
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The context for handling the message. The cluster manager interface can be accessed from NotificationContext
The constructor. The message and notification context must be provided via creation.
Message handling routine. The function is called in a thread pool task in CMTaskExecutor
InterruptedException |
---|
Callback when error happens in the message handling pipeline.
type | TODO |
---|
Callback when the framework is about to interrupt the message handler