public class BeehiveThriftBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
timeout |
| Constructor and Description |
|---|
BeehiveThriftBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.thrift.protocol.TProtocol |
getThriftClientProtocol(java.lang.String thriftHostname,
int thriftPort) |
static org.apache.thrift.server.TServer |
getThriftServer(int thriftPort,
org.apache.thrift.TProcessor processor) |
static void |
setThriftConnectionTimeout(int timeoutValue) |
public static void setThriftConnectionTimeout(int timeoutValue)
public static org.apache.thrift.protocol.TProtocol getThriftClientProtocol(java.lang.String thriftHostname,
int thriftPort)
throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionpublic static org.apache.thrift.server.TServer getThriftServer(int thriftPort,
org.apache.thrift.TProcessor processor)
throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportException