Class SegmentMessageHandlerFactory
- java.lang.Object
-
- org.apache.pinot.server.starter.helix.SegmentMessageHandlerFactory
-
- All Implemented Interfaces:
org.apache.helix.messaging.handling.MessageHandlerFactory
public class SegmentMessageHandlerFactory extends Object implements org.apache.helix.messaging.handling.MessageHandlerFactory
-
-
Constructor Summary
Constructors Constructor Description SegmentMessageHandlerFactory(InstanceDataManager instanceDataManager, ServerMetrics metrics)
-
Method Summary
Modifier and Type Method Description org.apache.helix.messaging.handling.MessageHandlercreateHandler(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)StringgetMessageType()voidreset()
-
-
-
Constructor Detail
-
SegmentMessageHandlerFactory
public SegmentMessageHandlerFactory(InstanceDataManager instanceDataManager, ServerMetrics metrics)
-
-
Method Detail
-
createHandler
public org.apache.helix.messaging.handling.MessageHandler createHandler(org.apache.helix.model.Message message, org.apache.helix.NotificationContext context)- Specified by:
createHandlerin interfaceorg.apache.helix.messaging.handling.MessageHandlerFactory
-
getMessageType
public String getMessageType()
- Specified by:
getMessageTypein interfaceorg.apache.helix.messaging.handling.MessageHandlerFactory
-
reset
public void reset()
- Specified by:
resetin interfaceorg.apache.helix.messaging.handling.MessageHandlerFactory
-
-