public class

HelixManagerProperties

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

Class Overview

hold helix-manager properties read from helix-core/src/main/resources/cluster-manager.properties

Summary

Public Constructors
HelixManagerProperties(String propertyFileName)
Initialize properties from a file
HelixManagerProperties()
Public Methods
Properties getProperties()
Get properties wrapped as Properties
String getProperty(String key)
get property for key
String getVersion()
get helix version
boolean isFeatureSupported(String featureName, String participantVersion)
return true if participantVersion is no less than minimum supported version for the feature false otherwise
boolean isParticipantCompatible(String participantVersion)
return true if participantVersion is no less than minimum supported version for participant false otherwise
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public HelixManagerProperties (String propertyFileName)

Initialize properties from a file

public HelixManagerProperties ()

Public Methods

public Properties getProperties ()

Get properties wrapped as Properties

Returns
  • Properties

public String getProperty (String key)

get property for key

Returns
  • property associated by key

public String getVersion ()

get helix version

Returns
  • version read from properties

public boolean isFeatureSupported (String featureName, String participantVersion)

return true if participantVersion is no less than minimum supported version for the feature false otherwise

Returns
  • true if supported, false otherwise

public boolean isParticipantCompatible (String participantVersion)

return true if participantVersion is no less than minimum supported version for participant false otherwise

Returns
  • true if compatible, false otherwise