Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<ApplicationTimeoutType,String> |
UpdateApplicationTimeoutsResponse.getApplicationTimeouts()
Get
ApplicationTimeouts of the application. |
abstract Map<ApplicationTimeoutType,String> |
UpdateApplicationTimeoutsRequest.getApplicationTimeouts()
Get
ApplicationTimeouts of the application. |
Modifier and Type | Method and Description |
---|---|
static UpdateApplicationTimeoutsRequest |
UpdateApplicationTimeoutsRequest.newInstance(ApplicationId applicationId,
Map<ApplicationTimeoutType,String> applicationTimeouts) |
abstract void |
UpdateApplicationTimeoutsResponse.setApplicationTimeouts(Map<ApplicationTimeoutType,String> applicationTimeouts)
Set the
ApplicationTimeouts for the application. |
abstract void |
UpdateApplicationTimeoutsRequest.setApplicationTimeouts(Map<ApplicationTimeoutType,String> applicationTimeouts)
Set the
ApplicationTimeouts for the application. |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationTimeoutType |
ApplicationTimeout.getTimeoutType()
Get the application timeout type.
|
static ApplicationTimeoutType |
ApplicationTimeoutType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationTimeoutType[] |
ApplicationTimeoutType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<ApplicationTimeoutType,Long> |
ApplicationSubmissionContext.getApplicationTimeouts()
Get
ApplicationTimeouts of the application. |
abstract Map<ApplicationTimeoutType,ApplicationTimeout> |
ApplicationReport.getApplicationTimeouts() |
Modifier and Type | Method and Description |
---|---|
static ApplicationTimeout |
ApplicationTimeout.newInstance(ApplicationTimeoutType type,
String expiryTime,
long remainingTime) |
abstract void |
ApplicationTimeout.setTimeoutType(ApplicationTimeoutType timeoutType)
Set the application timeout type.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ApplicationSubmissionContext.setApplicationTimeouts(Map<ApplicationTimeoutType,Long> applicationTimeouts)
Set the
ApplicationTimeouts for the application in seconds. |
Copyright © 2024 Apache Software Foundation. All rights reserved.