Package org.apache.storm.utils
Class SupervisorClient.Builder
- java.lang.Object
-
- org.apache.storm.utils.SupervisorClient.Builder
-
- Enclosing class:
- SupervisorClient
public static class SupervisorClient.Builder extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SupervisorClient
build()
SupervisorClient
createSupervisorClient()
static SupervisorClient.Builder
withConf(Map<String,Object> conf)
SupervisorClient.Builder
withHostName(String hostName)
SupervisorClient.Builder
withPort(Integer port)
-
-
-
Method Detail
-
withConf
public static SupervisorClient.Builder withConf(Map<String,Object> conf)
-
withHostName
public SupervisorClient.Builder withHostName(String hostName)
-
withPort
public SupervisorClient.Builder withPort(Integer port)
-
build
public SupervisorClient build() throws org.apache.storm.thrift.transport.TTransportException
- Throws:
org.apache.storm.thrift.transport.TTransportException
-
createSupervisorClient
public SupervisorClient createSupervisorClient()
-
-