Enum Class Component.RestartPolicyEnum

java.lang.Object
java.lang.Enum<Component.RestartPolicyEnum>
org.apache.hadoop.yarn.service.api.records.Component.RestartPolicyEnum
All Implemented Interfaces:
Serializable, Comparable<Component.RestartPolicyEnum>, Constable
Enclosing class:
Component

public static enum Component.RestartPolicyEnum extends Enum<Component.RestartPolicyEnum>
Policy of restart component. Including ALWAYS - Long lived components (Always restart component instance even if instance exit code = 0.); ON_FAILURE (Only restart component instance if instance exit code != 0); NEVER (Do not restart in any cases)