I
- Vertex idV
- Vertex dataE
- Edge dataM
- Message datapublic class WorkerRequestServerHandler<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> extends RequestServerHandler<WorkerRequest<I,V,E>>
Modifier and Type | Class and Description |
---|---|
static class |
WorkerRequestServerHandler.Factory<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Factory for
WorkerRequestServerHandler |
flowControl, RESPONSE_BYTES
Constructor and Description |
---|
WorkerRequestServerHandler(ServerData<I,V,E> serverData,
WorkerRequestReservedMap workerRequestReservedMap,
ImmutableClassesGiraphConfiguration conf,
TaskInfo myTaskInfo,
Thread.UncaughtExceptionHandler exceptionHandler,
FlowControl flowControl)
Constructor with external server data
|
Modifier and Type | Method and Description |
---|---|
void |
processRequest(WorkerRequest<I,V,E> request)
Process request
|
channelActive, channelInactive, channelRead, exceptionCaught
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public WorkerRequestServerHandler(ServerData<I,V,E> serverData, WorkerRequestReservedMap workerRequestReservedMap, ImmutableClassesGiraphConfiguration conf, TaskInfo myTaskInfo, Thread.UncaughtExceptionHandler exceptionHandler, FlowControl flowControl)
serverData
- Data held by the serverworkerRequestReservedMap
- Worker request reservation mapconf
- ConfigurationmyTaskInfo
- Current task infoexceptionHandler
- Handles uncaught exceptionsflowControl
- Reference to the flow control usedpublic void processRequest(WorkerRequest<I,V,E> request)
RequestServerHandler
processRequest
in class RequestServerHandler<WorkerRequest<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>>
request
- Request to processCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.