public class MasterRequestServerHandler extends RequestServerHandler<MasterRequest>
Modifier and Type | Class and Description |
---|---|
static class |
MasterRequestServerHandler.Factory
Factory for
MasterRequestServerHandler |
flowControl, RESPONSE_BYTES
Constructor and Description |
---|
MasterRequestServerHandler(WorkerRequestReservedMap workerRequestReservedMap,
ImmutableClassesGiraphConfiguration conf,
TaskInfo myTaskInfo,
MasterGlobalCommHandler commHandler,
Thread.UncaughtExceptionHandler exceptionHandler,
FlowControl flowControl)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
processRequest(MasterRequest request)
Process request
|
channelActive, channelInactive, channelRead, exceptionCaught
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public MasterRequestServerHandler(WorkerRequestReservedMap workerRequestReservedMap, ImmutableClassesGiraphConfiguration conf, TaskInfo myTaskInfo, MasterGlobalCommHandler commHandler, Thread.UncaughtExceptionHandler exceptionHandler, FlowControl flowControl)
workerRequestReservedMap
- Worker request reservation mapconf
- ConfigurationmyTaskInfo
- Current task infocommHandler
- Master communication handlerexceptionHandler
- Handles uncaught exceptionsflowControl
- Reference to the flow control usedpublic void processRequest(MasterRequest request)
RequestServerHandler
processRequest
in class RequestServerHandler<MasterRequest>
request
- Request to processCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.