java.lang.Object
   ↳ org.apache.helix.participant.CustomCodeInvoker

Summary

Public Constructors
CustomCodeInvoker(CustomCodeCallbackHandler callback, PartitionId partitionKey)
Public Methods
void onExternalViewChange(List<ExternalView> externalViewList, NotificationContext changeContext)
Invoked when external view changes
void onInstanceConfigChange(List<InstanceConfig> configs, NotificationContext changeContext)
Invoked when participant config 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.ExternalViewChangeListener
From interface org.apache.helix.InstanceConfigChangeListener
From interface org.apache.helix.LiveInstanceChangeListener

Public Constructors

public CustomCodeInvoker (CustomCodeCallbackHandler callback, PartitionId partitionKey)

Public Methods

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 onInstanceConfigChange (List<InstanceConfig> configs, NotificationContext changeContext)

Invoked when participant config changes

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

Invoked when live instance changes