@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
@Conditional(value=org.springframework.yarn.boot.condition.OnYarnAppmasterCondition.class)
public @interface ConditionalOnYarnAppmaster
Conditional
that only matches when Hadoop Yarn
appmaster execution is detected.