I
- Vertex idV
- Vertex valueE
- Edge valuepublic interface WorkerServer<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends NetworkMetrics, Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Shuts down.
|
String |
getLocalHostOrIp()
Get server host name or IP
|
InetSocketAddress |
getMyAddress()
Get server address
|
ServerData<I,V,E> |
getServerData()
Get server data
|
void |
prepareSuperstep()
Prepare incoming messages for computation, and resolve mutation requests.
|
void |
setFlowControl(FlowControl flowControl)
Inform this server about the flow control used in sending requests
|
getBytesReceived, getBytesReceivedPerSuperstep, resetBytesReceivedPerSuperstep
InetSocketAddress getMyAddress()
String getLocalHostOrIp()
void prepareSuperstep()
ServerData<I,V,E> getServerData()
void close()
close
in interface AutoCloseable
close
in interface Closeable
void setFlowControl(FlowControl flowControl)
flowControl
- reference to the flow control policyCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.