Package org.apache.spark.util
Interface SparkClassUtils
public interface SparkClassUtils
- 
Method SummaryModifier and TypeMethodDescription<C> Class<C>classForName(String className, boolean initialize, boolean noSparkClassLoader) Preferred alternative to Class.forName(className), as well as Class.forName(className, initialize, loader) with current thread's ContextClassLoader.booleanclassIsLoadable(String clazz) Determines whether the provided class is loadable in the current thread.random()
- 
Method Details- 
randomRandom random()
- 
getSparkClassLoaderClassLoader getSparkClassLoader()
- 
getContextOrSparkClassLoaderClassLoader getContextOrSparkClassLoader()
- 
classForNamePreferred alternative to Class.forName(className), as well as Class.forName(className, initialize, loader) with current thread's ContextClassLoader.- Parameters:
- className- (undocumented)
- initialize- (undocumented)
- noSparkClassLoader- (undocumented)
- Returns:
- (undocumented)
 
- 
classIsLoadableDetermines whether the provided class is loadable in the current thread.
 
-