T
- Handle typepublic static class ArrayOfHandles.ArrayOfBroadcasts<T> extends ArrayOfHandles<BroadcastHandle<T>> implements BroadcastArrayHandle<T>
ArrayOfHandles.ArrayOfBroadcasts<T>, ArrayOfHandles.ArrayOfReducers<S,R>
handles
Constructor and Description |
---|
ArrayOfBroadcasts(int count,
Int2ObjFunction<BroadcastHandle<T>> broadcastHandleFactory) |
ArrayOfBroadcasts(int count,
Supplier<BroadcastHandle<T>> broadcastHandleFactory) |
Modifier and Type | Method and Description |
---|---|
int |
getBroadcastedSize(WorkerBroadcastUsage worker)
Number of elements that were broadcasted.
|
get, getStaticSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getStaticSize
public ArrayOfBroadcasts(int count, Int2ObjFunction<BroadcastHandle<T>> broadcastHandleFactory)
public ArrayOfBroadcasts(int count, Supplier<BroadcastHandle<T>> broadcastHandleFactory)
public int getBroadcastedSize(WorkerBroadcastUsage worker)
BroadcastArrayHandle
getBroadcastedSize
in interface BroadcastArrayHandle<T>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.