|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BroadcastFactory
:: DeveloperApi :: An interface for all the broadcast implementations in Spark (to allow multiple broadcast implementations). SparkContext uses a user-specified BroadcastFactory implementation to instantiate a particular broadcast for the entire Spark job.
| Method Summary | ||
|---|---|---|
void |
initialize(boolean isDriver,
SparkConf conf,
org.apache.spark.SecurityManager securityMgr)
|
|
|
newBroadcast(T value,
boolean isLocal,
long id,
scala.reflect.ClassTag<T> evidence$1)
Creates a new broadcast variable. |
|
void |
stop()
|
|
void |
unbroadcast(long id,
boolean removeFromDriver,
boolean blocking)
|
|
| Method Detail |
|---|
void initialize(boolean isDriver,
SparkConf conf,
org.apache.spark.SecurityManager securityMgr)
<T> Broadcast<T> newBroadcast(T value,
boolean isLocal,
long id,
scala.reflect.ClassTag<T> evidence$1)
value - value to broadcastisLocal - whether we are in local mode (single JVM process)id - unique id representing this broadcast variableevidence$1 - (undocumented)
void unbroadcast(long id,
boolean removeFromDriver,
boolean blocking)
void stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||