public class SupervisorClient extends ThriftClient implements SupervisorIfaceFactory
Client for interacting with Supervisor server, now we use supervisor server mainly for cases below.
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, transportclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic SupervisorClient(Map conf, String host, int port) throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportExceptionpublic SupervisorClient(Map conf, String host, int port, Integer timeout) throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportExceptionpublic SupervisorClient(Map conf, String host, Integer port, Integer timeout, String asUser) throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportExceptionpublic 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 SupervisorIfaceFactoryCopyright © 2021 The Apache Software Foundation. All rights reserved.