Package org.apache.druid.indexer
Class TaskLocation
java.lang.Object
org.apache.druid.indexer.TaskLocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskLocationstatic TaskLocationstatic TaskLocationbooleangetHost()intgetPort()intinthashCode()toString()static TaskLocationunknown()
-
Constructor Details
-
TaskLocation
-
-
Method Details
-
create
-
create
-
create
public static TaskLocation create(String host, int port, int tlsPort, boolean isTls, @Nullable String k8sPodName) -
unknown
-
getHost
-
getPort
public int getPort() -
getTlsPort
public int getTlsPort() -
getK8sPodName
-
getLocation
-
makeURL
- Throws:
MalformedURLException
-
toString
-
equals
-
hashCode
public int hashCode()
-