public static interface RequestServerHandler.Factory
RequestServerHandler| 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()`)
|
RequestServerHandler newHandler(WorkerRequestReservedMap workerRequestReservedMap, ImmutableClassesGiraphConfiguration conf, TaskInfo myTaskInfo, Thread.UncaughtExceptionHandler exceptionHandler)
RequestServerHandlerworkerRequestReservedMap - Worker request reservation mapconf - Configuration to usemyTaskInfo - Current task infoexceptionHandler - Handles uncaught exceptionsRequestServerHandlervoid setFlowControl(FlowControl flowControl)
flowControl - reference to flow control usedCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.