public interface

HelixParticipant

implements HelixConnectionStateListener HelixRole HelixService
org.apache.helix.HelixParticipant
Known Indirect Subclasses

Class Overview

Helix participant

Summary

Public Methods
abstract void addPreConnectCallback(PreConnectCallback callback)
add pre-connect callback
abstract ParticipantId getParticipantId()
get participant id
abstract StateMachineEngine getStateMachineEngine()
get state machine engine
abstract void setLiveInstanceInfoProvider(LiveInstanceInfoProvider liveInstanceInfoProvider)
Add a LiveInstanceInfoProvider that is invoked before creating liveInstance.
[Expand]
Inherited Methods
From interface org.apache.helix.HelixConnectionStateListener
From interface org.apache.helix.HelixRole
From interface org.apache.helix.HelixService

Public Methods

public abstract void addPreConnectCallback (PreConnectCallback callback)

add pre-connect callback

public abstract ParticipantId getParticipantId ()

get participant id

Returns
  • participant id

public abstract StateMachineEngine getStateMachineEngine ()

get state machine engine

Returns
  • state machine engine

public abstract void setLiveInstanceInfoProvider (LiveInstanceInfoProvider liveInstanceInfoProvider)

Add a LiveInstanceInfoProvider that is invoked before creating liveInstance.
This allows applications to provide additional information that will be published to zookeeper and become available for discovery