| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.service.api.records | |
| org.apache.hadoop.yarn.service.client | Package org.apache.hadoop.yarn.service.client contains classes
 for YARN Services Client API. | 
| Modifier and Type | Method and Description | 
|---|---|
| ServiceState | Service. getState() | 
| ServiceState | ServiceStatus. getState() | 
| static ServiceState | ServiceState. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ServiceState[] | ServiceState. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | ServiceState. isUpgrading(ServiceState state) | 
| void | Service. setState(ServiceState state) | 
| void | ServiceStatus. setState(ServiceState state) | 
| Service | Service. state(ServiceState state)State of the service. | 
| ServiceStatus | ServiceStatus. state(ServiceState state)Service state. | 
| Modifier and Type | Method and Description | 
|---|---|
| ServiceState | ServiceClient. convertState(YarnApplicationState state) | 
Copyright © 2023 Apache Software Foundation. All rights reserved.