InterfaceAudience InterfaceStability
来源:互联网 发布:unity3d动态加载图片 编辑:程序博客网 时间:2024/06/06 21:05
hadoop common 下的两个类 InterfaceAudience ,InterfaceStability ;
InterfaceAudience 有三个抽象方法,主要用于说明使用的范围
/**
* Intended for use by any project or application. 在任何项目或应用中可使用
*/
@InterfaceAudience.Public
/**
* Intended only for the project(s) specified in the annotation.
* For example, "Common", "HDFS", "MapReduce", "ZooKeeper", "HBase".
* 只能用在指定的项目中如"Common", "HDFS", "MapReduce", "ZooKeeper", "HBase"
*/
@InterfaceAudience.LimitedPrivate
/**
* Intended for use only within Hadoop itself. 只能在hadoop本身项目中使用
*/
@InterfaceAudience.Private
InterfaceStability 有三个抽象方法,主要用于说明版本的稳定性,及有特定包的依赖
/**
* Can evolve while retaining compatibility for minor release boundaries.;
* can break compatibility only at major release (ie. at m.0). 主版本是稳定的,不同主版本间可能不兼容
*/
@InterfaceStability.Stable
/**
* Evolving, but can break compatibility at minor release (i.e. m.x) 不断变化,不同次版本间可能不兼容
*/
@InterfaceStability.Evolving
/**
* No guarantee is provided as to reliability or stability across any 不能提供稳定性和可靠性
* level of release granularity.
*/
@InterfaceStability.Unstable
- InterfaceAudience InterfaceStability
- @InterfaceAudience 与 @InterfaceStability
- hadoop 注解之 interfaceAudience interfaceStability
- 区块链倡导者在自由党选举大会上畅想完美选举
- debstack 安装 openstack
- 文章标题
- Windows 7 --小技巧 桌面右键添加关机命令
- 关于android studio 显示no debuggable applications 的解决方法
- InterfaceAudience InterfaceStability
- Java实现定时任务的三种方法
- IDA SIG文件制作 批处理方法
- HotSpot VM的生命周期
- 伊隆·马斯克:亿万富翁段子手,因为他从不掩饰真实的自己
- Arduino uno + mpu6050 陀螺仪 运用卡尔曼滤波姿态解算实验
- 01.linux系统vi常规配置
- 推荐(anli)几本学操作系统的书
- mysql主从复制(超简单)