public class

PropertyPathConfig

extends Object
java.lang.Object
   ↳ org.apache.helix.PropertyPathConfig

Class Overview

Utility mapping properties to their Zookeeper locations

Summary

Public Constructors
PropertyPathConfig()
Public Methods
static String getInstanceNameFromPath(String path)
Given a path, find the name of an instance at that path
static String getPath(PropertyType type, String clusterName, String... keys)
Get the Zookeeper path given the property type, cluster, and parameters
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PropertyPathConfig ()

Public Methods

public static String getInstanceNameFromPath (String path)

Given a path, find the name of an instance at that path

Returns
  • a valid instance name, or null if none exists

public static String getPath (PropertyType type, String clusterName, String... keys)

Get the Zookeeper path given the property type, cluster, and parameters

Returns
  • a valid path, or null if none exists