@Configuration @ConditionalOnWebApplication @EnableConfigurationProperties(value=SpringYarnHostInfoDiscoveryProperties.class) public static class YarnAppmasterAutoConfiguration.TrackServiceConfig extends java.lang.Object
Constructor and Description |
---|
YarnAppmasterAutoConfiguration.TrackServiceConfig() |
Modifier and Type | Method and Description |
---|---|
AppmasterTrackService |
appmasterTrackService(HostInfoDiscovery hostInfoDiscovery) |
HostInfoDiscovery |
hostInfoDiscovery() |
public YarnAppmasterAutoConfiguration.TrackServiceConfig()
@Bean @ConditionalOnMissingBean(value=HostInfoDiscovery.class) public HostInfoDiscovery hostInfoDiscovery()
@Bean(name="yarnAmTrackservice") @ConditionalOnMissingBean(value=AppmasterTrackService.class) public AppmasterTrackService appmasterTrackService(HostInfoDiscovery hostInfoDiscovery)