public class ShardedReducerHandle.ShardedBroadcastHandle extends Object implements BroadcastHandle<R>
Modifier and Type | Field and Description |
---|---|
protected BroadcastArrayHandle<KryoWritableWrapper<R>> |
broadcasts |
Constructor and Description |
---|
ShardedBroadcastHandle(BroadcastArrayHandle<KryoWritableWrapper<R>> broadcasts) |
Modifier and Type | Method and Description |
---|---|
R |
createBroadcastResult(WorkerBroadcastUsage worker) |
R |
getBroadcast(WorkerBroadcastUsage worker)
Get broadcasted value
|
protected final BroadcastArrayHandle<KryoWritableWrapper<R>> broadcasts
public ShardedBroadcastHandle(BroadcastArrayHandle<KryoWritableWrapper<R>> broadcasts)
public R createBroadcastResult(WorkerBroadcastUsage worker)
public final R getBroadcast(WorkerBroadcastUsage worker)
BroadcastHandle
getBroadcast
in interface BroadcastHandle<R>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.