TorrentBroadcastFactory
TorrentBroadcastFactory
is a BroadcastFactory of TorrentBroadcasts, i.e. BitTorrent-like broadcast variables.
Note
|
As of Spark 2.0 TorrentBroadcastFactory is the only implementation of BroadcastFactory.
|
Creating TorrentBroadcast — newBroadcast
Method
1 2 3 4 5 |
newBroadcast[T: ClassTag](value_ : T, isLocal: Boolean, id: Long): Broadcast[T] |
Note
|
newBroadcast is part of BroadcastFactory Contract to…FIXME.
|
newBroadcast
creates a TorrentBroadcast (for the input value_
and id
and ignoring the isLocal
parameter).