public class AbstractMetaClient extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<HostAddress> |
addresses |
protected int |
connectionRetry |
protected int |
executionRetry |
protected com.facebook.thrift.protocol.TProtocol |
protocol |
protected int |
timeout |
protected com.facebook.thrift.transport.TTransport |
transport |
| Constructor and Description |
|---|
AbstractMetaClient(List<HostAddress> addresses,
int timeout,
int connectionRetry,
int executionRetry) |
| Modifier and Type | Method and Description |
|---|---|
int |
getConnectionRetry() |
int |
getExecutionRetry() |
int |
getTimeout() |
protected final List<HostAddress> addresses
protected final int connectionRetry
protected final int executionRetry
protected final int timeout
protected com.facebook.thrift.protocol.TProtocol protocol
protected com.facebook.thrift.transport.TTransport transport
public AbstractMetaClient(List<HostAddress> addresses, int timeout, int connectionRetry, int executionRetry) throws UnknownHostException
UnknownHostExceptionCopyright © 2022. All rights reserved.