S
- Single value typeR
- Reduced value typepublic class ReducerAndBroadcastWrapperHandle<S,R> extends Object
Constructor and Description |
---|
ReducerAndBroadcastWrapperHandle() |
Modifier and Type | Method and Description |
---|---|
void |
broadcastValue(BlockMasterApi master)
Broadcast reduced value from master
|
R |
getBroadcast(WorkerBroadcastUsage worker)
Get broadcasted value
|
R |
getReducedValue(MasterGlobalCommUsage master)
Get reduced value
|
void |
reduce(S valueToReduce)
Reduce single value
|
void |
registeredReducer(ReducerHandle<S,R> reducerHandle)
Set reducer handle to just registered handle
|
public void registeredReducer(ReducerHandle<S,R> reducerHandle)
public void reduce(S valueToReduce)
public R getReducedValue(MasterGlobalCommUsage master)
public void broadcastValue(BlockMasterApi master)
public R getBroadcast(WorkerBroadcastUsage worker)
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.