hadoop源码解读——Configured
来源:互联网 发布:拼立得mac版 编辑:程序博客网 时间:2024/06/01 08:08
package org.apache.hadoop.conf;
/** Base class for things that may be configured with a {@link Configuration}. */
/** Construct a Configured. */
public Configured() {
this(null);
}
/** Construct a Configured. */
public Configured(Configuration conf) {
setConf(conf);
}
// inherit javadoc
public void setConf(Configuration conf) {
this.conf = conf;
}
// inherit javadoc
public Configuration getConf() {
return conf;
/** Base class for things that may be configured with a {@link Configuration}. */
public class Configured implements Configurable {
/** Construct a Configured. */
public Configured() {
this(null);
}
/** Construct a Configured. */
public Configured(Configuration conf) {
setConf(conf);
}
// inherit javadoc
public void setConf(Configuration conf) {
this.conf = conf;
}
// inherit javadoc
public Configuration getConf() {
return conf;
}
这个类里面就两个方法,只是简单地实现了Configurable,它和Configuration类还是有区别的,目前来说,我还不知道这两个类应用上的差别,我知识知道这里面有的方法那里面没有,以后再补充。
- hadoop源码解读——Configured
- hadoop源码解读——configuration
- hadoop Configured Configrable Configuration Tool 源码详解
- Hadoop源码解读
- Hadoop源码解读
- Hadoop Balancer源码解读
- Hadoop WordCount源码解读
- Hadoop Balancer源码解读
- hadoop cgroup源码解读
- hadoop源码解读一
- hadoop源码解读二
- hadoop源码解读三
- kubernetes源码解读——源码结构
- org.apache.hadoop.io.compress源码解读
- Hadoop源码解读-Job初始化过程
- Hadoop源码解读-Job初始化过程
- nutch-2.0源码解读——简介
- Hibernate源码解读——查询
- 改进的快速排序算法
- 预警卫星对弹道导弹关机点战术参数的估计
- 【创业感想】从如何让创业公司效率提高3倍说起
- Intent和PendingIntent的区别
- 网页设计之CSS3精要
- hadoop源码解读——Configured
- VC真彩工具栏制作浅析
- 1102
- 苹果已经关闭5.1.1的验证,如何升级到iOS5.1.1或平刷5.1.1
- 【ABAP】AT NEW和AT END OF
- MySQL索引背后的数据结构及算法原理[转]
- 【写程序从细节做起】起名规范
- 交换左右子树(二叉树)
- 生成cab 为cab确定数字证书