@InterfaceAudience.LimitedPrivate(value="Tools") public class ThriftServer extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LISTEN_PORT |
static int |
THRIFT_SERVER_SOCKET_READ_TIMEOUT_DEFAULT |
static String |
THRIFT_SERVER_SOCKET_READ_TIMEOUT_KEY
Amount of time in milliseconds before a server thread will timeout
waiting for client to send data on a connected socket.
|
Constructor and Description |
---|
ThriftServer() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Start up the Thrift2 server.
|
protected static void |
registerFilters(org.apache.hadoop.conf.Configuration conf)
Adds the option to pre-load filters at startup.
|
public static final int DEFAULT_LISTEN_PORT
public static final String THRIFT_SERVER_SOCKET_READ_TIMEOUT_KEY
public static final int THRIFT_SERVER_SOCKET_READ_TIMEOUT_DEFAULT
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.