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.

initialize and stop do nothing.

Creating TorrentBroadcast — newBroadcast Method

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).

results matching ""

    No results matching ""