public static class MasterRequestServerHandler.Factory extends Object implements RequestServerHandler.Factory
MasterRequestServerHandler| Constructor and Description |
|---|
Factory(MasterGlobalCommHandler commHandler)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
RequestServerHandler |
newHandler(WorkerRequestReservedMap workerRequestReservedMap,
ImmutableClassesGiraphConfiguration conf,
TaskInfo myTaskInfo,
Thread.UncaughtExceptionHandler exceptionHandler)
Create new
RequestServerHandler |
void |
setFlowControl(FlowControl flowControl)
Inform the factory about the flow control policy used (this method should
be called before any call to `#newHandle()`)
|
public Factory(MasterGlobalCommHandler commHandler)
commHandler - Master global communication handlerpublic RequestServerHandler newHandler(WorkerRequestReservedMap workerRequestReservedMap, ImmutableClassesGiraphConfiguration conf, TaskInfo myTaskInfo, Thread.UncaughtExceptionHandler exceptionHandler)
RequestServerHandler.FactoryRequestServerHandlernewHandler in interface RequestServerHandler.FactoryworkerRequestReservedMap - Worker request reservation mapconf - Configuration to usemyTaskInfo - Current task infoexceptionHandler - Handles uncaught exceptionsRequestServerHandlerpublic void setFlowControl(FlowControl flowControl)
RequestServerHandler.FactorysetFlowControl in interface RequestServerHandler.FactoryflowControl - reference to flow control usedCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.