public interface

HelixRole

org.apache.helix.HelixRole
Known Indirect Subclasses

Class Overview

helix-role i.e. participant, controller, auto-controller

Summary

Public Methods
abstract HelixDataAccessor getAccessor()
get data accessor
abstract ClusterId getClusterId()
get cluster id to which this role belongs
abstract HelixConnection getConnection()
get the underlying connection
abstract Id getId()
get id of this helix-role
abstract ClusterMessagingService getMessagingService()
get the messaging-service
abstract InstanceType getType()
helix-role type

Public Methods

public abstract HelixDataAccessor getAccessor ()

get data accessor

public abstract ClusterId getClusterId ()

get cluster id to which this role belongs

Returns
  • cluster id

public abstract HelixConnection getConnection ()

get the underlying connection

Returns
  • helix-connection

public abstract Id getId ()

get id of this helix-role

Returns
  • id

public abstract ClusterMessagingService getMessagingService ()

get the messaging-service

Returns
  • messaging-service

public abstract InstanceType getType ()

helix-role type