public class ClientThriftServer extends Object
Modifier and Type | Field and Description |
---|---|
static StrConfOption |
CLIENT_THRIFT_SERVER_HOST
The client can run a Thrift server (e.g.
|
static IntConfOption |
CLIENT_THRIFT_SERVER_PORT
The client can run a Thrift server (e.g.
|
Constructor and Description |
---|
ClientThriftServer(GiraphConfiguration conf,
List<?> services)
Create and start the Thrift server.
|
Modifier and Type | Method and Description |
---|---|
void |
stopThriftServer()
Stop the Thrift server.
|
public static final StrConfOption CLIENT_THRIFT_SERVER_HOST
public static final IntConfOption CLIENT_THRIFT_SERVER_PORT
public ClientThriftServer(GiraphConfiguration conf, List<?> services)
conf
- Giraph conf to set the host and ports for.services
- Services to startCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.