Package org.apache.pinot.common.helix
Class ExtraInstanceConfig
- java.lang.Object
-
- org.apache.pinot.common.helix.ExtraInstanceConfig
-
public class ExtraInstanceConfig extends Object
Pinot extended Instance Config for pinot extra configuration like TlsPort, etc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtraInstanceConfig.PinotInstanceConfigProperty
-
Constructor Summary
Constructors Constructor Description ExtraInstanceConfig(org.apache.helix.model.InstanceConfig proxy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComponentUrl()Returns an instance URL from the InstanceConfig.StringgetTlsPort()voidsetTlsPort(String tlsPort)
-
-
-
Method Detail
-
getTlsPort
public String getTlsPort()
-
setTlsPort
public void setTlsPort(String tlsPort)
-
getComponentUrl
public String getComponentUrl()
Returns an instance URL from the InstanceConfig. Will set the appropriate protocol and port. Note that the helix participant port will be returned. For the Pinot server this will not correspond to the admin port. Returns null if the URL cannot be constructed.
-
-