public class SupervisorClient extends ThriftClient
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 |
---|---|
Supervisor.Client |
getClient() |
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) |
close, reconnect, transport
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 getClient()
Copyright © 2019 The Apache Software Foundation. All rights reserved.