public class SupervisorClient extends ThriftClient implements SupervisorIfaceFactory
protocol, retryForever
Constructor and Description |
---|
SupervisorClient(Map conf,
String host) |
SupervisorClient(Map conf,
String host,
int port) |
SupervisorClient(Map conf,
String host,
Integer port,
Integer timeout,
String asUser) |
SupervisorClient(Map conf,
String host,
int port,
Integer timeout) |
Modifier and Type | Method and Description |
---|---|
static SupervisorClient |
getConfiguredClient(Map conf,
String host) |
static SupervisorClient |
getConfiguredClient(Map conf,
String host,
int port) |
static SupervisorClient |
getConfiguredClientAs(Map conf,
String host,
int port,
String asUser) |
Supervisor.Client |
getIface() |
close, reconnect, transport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public SupervisorClient(Map conf, String host, int port) throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportException
public SupervisorClient(Map conf, String host, int port, Integer timeout) throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportException
public SupervisorClient(Map conf, String host, Integer port, Integer timeout, String asUser) throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportException
public static SupervisorClient getConfiguredClient(Map conf, String host)
public static SupervisorClient getConfiguredClient(Map conf, String host, int port)
public static SupervisorClient getConfiguredClientAs(Map conf, String host, int port, String asUser)
public Supervisor.Client getIface()
getIface
in interface SupervisorIfaceFactory
Copyright © 2023 The Apache Software Foundation. All rights reserved.