Save This Page
Home » hadoop-0.14.4 » org.apache » hadoop » util » [javadoc | source]
org.apache.hadoop.util
public class: ReflectionUtils [javadoc | source]
java.lang.Object
   org.apache.hadoop.util.ReflectionUtils
General reflection utils
Method from org.apache.hadoop.util.ReflectionUtils Summary:
clearCache,   getCacheSize,   logThreadInfo,   newInstance,   printThreadInfo,   setConf,   setContentionTracing
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.hadoop.util.ReflectionUtils Detail:
 static  void clearCache() 
 static int getCacheSize() 
 public static synchronized  void logThreadInfo(Log log,
    String title,
    long minInterval) 
    Log the current thread stacks at INFO level.
 public static Object newInstance(Class theClass,
    Configuration conf) 
    Create an object for the given class and initialize it from conf
 public static  void printThreadInfo(PrintWriter stream,
    String title) 
    Print all of the thread's information and stack traces.
 public static  void setConf(Object theObject,
    Configuration conf) 
    Check and set 'configuration' if necessary.
 public static  void setContentionTracing(boolean val)