public class

CustomCodeInvoker

extends Object
implements ConfigChangeListener ExternalViewChangeListener LiveInstanceChangeListener
java.lang.Object
   ↳ org.apache.helix.participant.CustomCodeInvoker

Summary

Public Constructors
CustomCodeInvoker(CustomCodeCallbackHandler callback, String partitionKey)
Public Methods
void onConfigChange(List<InstanceConfig> configs, NotificationContext changeContext)
Invoked when participant config changes
void onExternalViewChange(List<ExternalView> externalViewList, NotificationContext changeContext)
Invoked when external view changes
void onLiveInstanceChange(List<LiveInstance> liveInstances, NotificationContext changeContext)
Invoked when live instance changes
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.helix.ConfigChangeListener
From interface org.apache.helix.ExternalViewChangeListener
From interface org.apache.helix.LiveInstanceChangeListener

Public Constructors

public CustomCodeInvoker (CustomCodeCallbackHandler callback, String partitionKey)

Public Methods

public void onConfigChange (List<InstanceConfig> configs, NotificationContext changeContext)

Invoked when participant config changes

public void onExternalViewChange (List<ExternalView> externalViewList, NotificationContext changeContext)

Invoked when external view changes

Parameters
externalViewList a list of ExternalViews
changeContext the change event and state

public void onLiveInstanceChange (List<LiveInstance> liveInstances, NotificationContext changeContext)

Invoked when live instance changes