從包名可以看出這個包里面都是配置相關的類;從類名上可以看出這是一個接口,或者說配置類接口。內容很少。
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類就是同包下的,算是最親的一個孩子
沒什么好看的
新聞熱點
疑難解答