当前位置: 首页>>代码示例>>Java>>正文


Java Evolving类代码示例

本文整理汇总了Java中org.apache.hadoop.classification.InterfaceStability.Evolving的典型用法代码示例。如果您正苦于以下问题:Java Evolving类的具体用法?Java Evolving怎么用?Java Evolving使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


Evolving类属于org.apache.hadoop.classification.InterfaceStability包,在下文中一共展示了Evolving类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setLabelsToNodes

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Override
@Public
@Evolving
public void setLabelsToNodes(Map<String, Set<NodeId>> map) {
  initLabelsToNodes();
  labelsToNodes.clear();
  labelsToNodes.putAll(map);
}
 
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:GetLabelsToNodesResponsePBImpl.java

示例2: getLabelsToNodes

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Override
@Public
@Evolving
public Map<String, Set<NodeId>> getLabelsToNodes() {
  initLabelsToNodes();
  return this.labelsToNodes;
}
 
开发者ID:naver,项目名称:hadoop,代码行数:8,代码来源:GetLabelsToNodesResponsePBImpl.java

示例3: newInstance

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Public
@Evolving
public static UpdateNodeResourceRequest newInstance(
    Map<NodeId, ResourceOption> nodeResourceMap) {
  UpdateNodeResourceRequest request =
      Records.newRecord(UpdateNodeResourceRequest.class);
  request.setNodeResourceMap(nodeResourceMap);
  return request;
}
 
开发者ID:naver,项目名称:hadoop,代码行数:10,代码来源:UpdateNodeResourceRequest.java

示例4: setLabelsToNodes

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Override
@Public
@Evolving
public void setLabelsToNodes(Map<NodeLabel, Set<NodeId>> map) {
  initLabelsToNodes();
  labelsToNodes.clear();
  labelsToNodes.putAll(map);
}
 
开发者ID:aliyun-beta,项目名称:aliyun-oss-hadoop-fs,代码行数:9,代码来源:GetLabelsToNodesResponsePBImpl.java

示例5: getLabelsToNodes

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Override
@Public
@Evolving
public Map<NodeLabel, Set<NodeId>> getLabelsToNodes() {
  initLabelsToNodes();
  return this.labelsToNodes;
}
 
开发者ID:aliyun-beta,项目名称:aliyun-oss-hadoop-fs,代码行数:8,代码来源:GetLabelsToNodesResponsePBImpl.java

示例6: newInstance

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Public
@Evolving
public static RefreshNodesResourcesRequest newInstance() {
  RefreshNodesResourcesRequest request =
      Records.newRecord(RefreshNodesResourcesRequest.class);
  return request;
}
 
开发者ID:aliyun-beta,项目名称:aliyun-oss-hadoop-fs,代码行数:8,代码来源:RefreshNodesResourcesRequest.java

示例7: getResourceCalculator

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@LimitedPrivate("yarn")
@Evolving
ResourceCalculator getResourceCalculator();
 
开发者ID:naver,项目名称:hadoop,代码行数:4,代码来源:YarnScheduler.java

示例8: setToken

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
/**
 * Sets the NMToken for node address
 * @param nodeAddr node address (host:port)
 * @param token NMToken
 */
@Public
@Evolving
public void setToken(String nodeAddr, Token token) {
  nmTokens.put(nodeAddr, token);
}
 
开发者ID:naver,项目名称:hadoop,代码行数:11,代码来源:NMTokenCache.java

示例9: setLabelsToNodes

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Public
@Evolving
public abstract void setLabelsToNodes(Map<String, Set<NodeId>> map);
 
开发者ID:naver,项目名称:hadoop,代码行数:4,代码来源:GetLabelsToNodesResponse.java

示例10: getLabelsToNodes

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Public
@Evolving
public abstract Map<String, Set<NodeId>> getLabelsToNodes();
 
开发者ID:naver,项目名称:hadoop,代码行数:4,代码来源:GetLabelsToNodesResponse.java

示例11: setNodeToLabels

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Public
@Evolving
public abstract void setNodeToLabels(Map<NodeId, Set<String>> map);
 
开发者ID:naver,项目名称:hadoop,代码行数:4,代码来源:GetNodesToLabelsResponse.java

示例12: getNodeToLabels

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Public
@Evolving
public abstract Map<NodeId, Set<String>> getNodeToLabels();
 
开发者ID:naver,项目名称:hadoop,代码行数:4,代码来源:GetNodesToLabelsResponse.java

示例13: setNodeLabels

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Public
@Evolving
public abstract void setNodeLabels(Set<String> labels);
 
开发者ID:naver,项目名称:hadoop,代码行数:4,代码来源:GetClusterNodeLabelsResponse.java

示例14: getNodeLabels

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
@Public
@Evolving
public abstract Set<String> getNodeLabels();
 
开发者ID:naver,项目名称:hadoop,代码行数:4,代码来源:GetClusterNodeLabelsResponse.java

示例15: getContract

import org.apache.hadoop.classification.InterfaceStability.Evolving; //导入依赖的package包/类
/**
 * @return Contract describing resources to return to the cluster.
 */
@Public
@Evolving
public abstract PreemptionContract getContract();
 
开发者ID:naver,项目名称:hadoop,代码行数:7,代码来源:PreemptionMessage.java


注:本文中的org.apache.hadoop.classification.InterfaceStability.Evolving类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。