Class CuratorServiceUtils
- java.lang.Object
-
- org.apache.druid.curator.discovery.CuratorServiceUtils
-
@Deprecated public class CuratorServiceUtils extends Object
Deprecated.This class is only used by Deprecated classes.
-
-
Constructor Summary
Constructors Constructor Description CuratorServiceUtils()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static StringmakeCanonicalServiceName(String serviceName)Deprecated.Replacing '/' with ':' in service names makes it easier to provide an HTTP interface using curator-x-discovery-server This method is marked protected because it should never be used outside of the org.apache.druid.curator.discovery package.
-
-
-
Method Detail
-
makeCanonicalServiceName
protected static String makeCanonicalServiceName(String serviceName)
Deprecated.Replacing '/' with ':' in service names makes it easier to provide an HTTP interface using curator-x-discovery-server This method is marked protected because it should never be used outside of the org.apache.druid.curator.discovery package. If you are tempted to use this method anywhere else you are most likely doing something wrong. Mapping the actual service name to the name used within curator should be left toCuratorServiceAnnouncerandServerDiscoveryFactory- Parameters:
serviceName-- Returns:
- See Also:
CuratorServiceAnnouncer,ServerDiscoveryFactory
-
-