public abstract class

AbstractHelixResolver

extends Object
implements HelixResolver
java.lang.Object
   ↳ org.apache.helix.resolver.AbstractHelixResolver
Known Direct Subclasses

Class Overview

A basic implementation of a resolver in terms of expiring routing tables

Summary

Protected Constructors
AbstractHelixResolver()
Public Methods
void connect()
Initialize a connection for scope resolution.
void disconnect()
Tear down any state and open connections to Helix clusters.
Set<HelixAddress> getDestinations(HelixMessageScope scope)
HelixAddress getSource(HelixMessageScope scope)
boolean isConnected()
Check the connection status
Protected Methods
abstract HelixManager createManager(String cluster)
Create a Helix manager connection based on the appropriate backing store
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.helix.resolver.HelixResolver

Protected Constructors

protected AbstractHelixResolver ()

Public Methods

public void connect ()

Initialize a connection for scope resolution.

public void disconnect ()

Tear down any state and open connections to Helix clusters.

public Set<HelixAddress> getDestinations (HelixMessageScope scope)

public HelixAddress getSource (HelixMessageScope scope)

public boolean isConnected ()

Check the connection status

Returns
  • true if connected, false otherwise

Protected Methods

protected abstract HelixManager createManager (String cluster)

Create a Helix manager connection based on the appropriate backing store

Parameters
cluster the name of the cluster to connect to
Returns
  • HelixManager instance