本文整理汇总了Java中org.apache.hadoop.classification.InterfaceStability.Stable类的典型用法代码示例。如果您正苦于以下问题:Java Stable类的具体用法?Java Stable怎么用?Java Stable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Stable类属于org.apache.hadoop.classification.InterfaceStability包,在下文中一共展示了Stable类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static ResourceBlacklistRequest newInstance(
List<String> additions, List<String> removals) {
ResourceBlacklistRequest blacklistRequest =
Records.newRecord(ResourceBlacklistRequest.class);
blacklistRequest.setBlacklistAdditions(additions);
blacklistRequest.setBlacklistRemovals(removals);
return blacklistRequest;
}
开发者ID:naver,项目名称:hadoop,代码行数:11,代码来源:ResourceBlacklistRequest.java
示例2:
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
@Idempotent
public RefreshSuperUserGroupsConfigurationResponse
refreshSuperUserGroupsConfiguration(
RefreshSuperUserGroupsConfigurationRequest request)
throws StandbyException, YarnException, IOException;
开发者ID:naver,项目名称:hadoop,代码行数:8,代码来源:ResourceManagerAdministrationProtocol.java
示例3: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static FinishApplicationMasterRequest newInstance(
FinalApplicationStatus finalAppStatus, String diagnostics, String url) {
FinishApplicationMasterRequest request =
Records.newRecord(FinishApplicationMasterRequest.class);
request.setFinalApplicationStatus(finalAppStatus);
request.setDiagnostics(diagnostics);
request.setTrackingUrl(url);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:12,代码来源:FinishApplicationMasterRequest.java
示例4: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static RefreshQueuesRequest newInstance() {
RefreshQueuesRequest request =
Records.newRecord(RefreshQueuesRequest.class);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:8,代码来源:RefreshQueuesRequest.java
示例5: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static GetQueueInfoRequest
newInstance(String queueName, boolean includeApplications,
boolean includeChildQueues, boolean recursive) {
GetQueueInfoRequest request = Records.newRecord(GetQueueInfoRequest.class);
request.setQueueName(queueName);
request.setIncludeApplications(includeApplications);
request.setIncludeChildQueues(includeChildQueues);
request.setRecursive(recursive);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:13,代码来源:GetQueueInfoRequest.java
示例6: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static GetClusterMetricsRequest newInstance() {
GetClusterMetricsRequest request =
Records.newRecord(GetClusterMetricsRequest.class);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:8,代码来源:GetClusterMetricsRequest.java
示例7: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static GetApplicationReportRequest newInstance(
ApplicationId applicationId) {
GetApplicationReportRequest request =
Records.newRecord(GetApplicationReportRequest.class);
request.setApplicationId(applicationId);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:10,代码来源:GetApplicationReportRequest.java
示例8: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static URL newInstance(String scheme, String host, int port, String file) {
URL url = Records.newRecord(URL.class);
url.setScheme(scheme);
url.setHost(host);
url.setPort(port);
url.setFile(file);
return url;
}
开发者ID:naver,项目名称:hadoop,代码行数:11,代码来源:URL.java
示例9: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static GetClusterNodesRequest newInstance() {
GetClusterNodesRequest request =
Records.newRecord(GetClusterNodesRequest.class);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:8,代码来源:GetClusterNodesRequest.java
示例10: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static ResourceRequest newInstance(Priority priority, String hostName,
Resource capability, int numContainers, boolean relaxLocality,
String labelExpression) {
ResourceRequest request = Records.newRecord(ResourceRequest.class);
request.setPriority(priority);
request.setResourceName(hostName);
request.setCapability(capability);
request.setNumContainers(numContainers);
request.setRelaxLocality(relaxLocality);
request.setNodeLabelExpression(labelExpression);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:15,代码来源:ResourceRequest.java
示例11: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static GetDelegationTokenRequest newInstance(String renewer) {
GetDelegationTokenRequest request =
Records.newRecord(GetDelegationTokenRequest.class);
request.setRenewer(renewer);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:GetDelegationTokenRequest.java
示例12: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static ApplicationSubmissionContext newInstance(
ApplicationId applicationId, String applicationName, String queue,
Priority priority, ContainerLaunchContext amContainer,
boolean isUnmanagedAM, boolean cancelTokensWhenComplete,
int maxAppAttempts, Resource resource, String applicationType,
boolean keepContainers, long attemptFailuresValidityInterval) {
ApplicationSubmissionContext context =
newInstance(applicationId, applicationName, queue, priority,
amContainer, isUnmanagedAM, cancelTokensWhenComplete, maxAppAttempts,
resource, applicationType, keepContainers);
context.setAttemptFailuresValidityInterval(attemptFailuresValidityInterval);
return context;
}
开发者ID:naver,项目名称:hadoop,代码行数:16,代码来源:ApplicationSubmissionContext.java
示例13: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static SubmitApplicationRequest newInstance(
ApplicationSubmissionContext context) {
SubmitApplicationRequest request =
Records.newRecord(SubmitApplicationRequest.class);
request.setApplicationSubmissionContext(context);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:10,代码来源:SubmitApplicationRequest.java
示例14: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static GetNewApplicationRequest newInstance() {
GetNewApplicationRequest request =
Records.newRecord(GetNewApplicationRequest.class);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:8,代码来源:GetNewApplicationRequest.java
示例15: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static KillApplicationRequest newInstance(ApplicationId applicationId) {
KillApplicationRequest request =
Records.newRecord(KillApplicationRequest.class);
request.setApplicationId(applicationId);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:KillApplicationRequest.java
示例16: newInstance
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public static RefreshSuperUserGroupsConfigurationRequest newInstance() {
RefreshSuperUserGroupsConfigurationRequest request =
Records.newRecord(RefreshSuperUserGroupsConfigurationRequest.class);
return request;
}
开发者ID:naver,项目名称:hadoop,代码行数:8,代码来源:RefreshSuperUserGroupsConfigurationRequest.java
示例17: setDefaultNodeLabelExpression
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
public abstract void setDefaultNodeLabelExpression(
String defaultLabelExpression);
开发者ID:naver,项目名称:hadoop,代码行数:5,代码来源:QueueInfo.java
示例18: refreshNodes
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
@Idempotent
public RefreshNodesResponse refreshNodes(RefreshNodesRequest request)
throws StandbyException, YarnException, IOException;
开发者ID:naver,项目名称:hadoop,代码行数:6,代码来源:ResourceManagerAdministrationProtocol.java
示例19: refreshUserToGroupsMappings
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
@Public
@Stable
@Idempotent
public RefreshUserToGroupsMappingsResponse refreshUserToGroupsMappings(
RefreshUserToGroupsMappingsRequest request)
throws StandbyException, YarnException, IOException;
开发者ID:naver,项目名称:hadoop,代码行数:7,代码来源:ResourceManagerAdministrationProtocol.java
示例20: setUnmanagedAM
import org.apache.hadoop.classification.InterfaceStability.Stable; //导入依赖的package包/类
/**
* @param value true if RM should not manage the AM
*/
@Public
@Stable
public abstract void setUnmanagedAM(boolean value);
开发者ID:naver,项目名称:hadoop,代码行数:7,代码来源:ApplicationSubmissionContext.java
注:本文中的org.apache.hadoop.classification.InterfaceStability.Stable类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论