org.apache.hadoop.conf-Configurable


 

从包名可以看出这个包里面都是配置相关的类;从类名上可以看出这是一个接口,或者说配置类接口。内容很少。


 

 1 package org.apache.hadoop.conf;
 2 
 3 /** Something that may be configured with a {@link Configuration}. */
 4 public interface Configurable {
 5 
 6   /** Set the configuration to be used by this object. */
 7   void setConf(Configuration conf);
 8 
 9   /** Return the configuration used by this object. */
10   Configuration getConf();
11 }

子接口或者实现它的类有:

  

其中Configured类就是同包下的,算是最亲的一个孩子


 

没什么好看的


 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。