public interface SpringYarnConfigurer extends AnnotationConfigurer<SpringYarnConfigs,SpringYarnConfigBuilder>
AnnotationBuilder
. All
AnnotationConfigurer
first have their AnnotationConfigurer.init(AnnotationBuilder)
method invoked. After all AnnotationConfigurer.init(AnnotationBuilder)
methods have been
invoked, each AnnotationConfigurer.configure(AnnotationBuilder)
method is invoked.Modifier and Type | Method and Description |
---|---|
void |
configure(YarnAppmasterConfigurer master)
Configure
YarnAppmaster via YarnAppmasterBuilder builder. |
void |
configure(YarnClientConfigurer client)
Configure
YarnClient via YarnClientBuilder builder. |
void |
configure(YarnConfigConfigurer config)
Configure
YarnConfiguration via YarnConfigBuilder builder. |
void |
configure(YarnContainerConfigurer container)
Configure
YarnContainer via YarnContainerBuilder builder. |
void |
configure(YarnEnvironmentConfigurer environment)
Configure
Map of environment via YarnEnvironmentBuilder builder. |
void |
configure(YarnResourceLocalizerConfigurer localizer)
Configure
ResourceLocalizer via YarnResourceLocalizerBuilder builder. |
configure, init, isAssignable
void configure(YarnConfigConfigurer config) throws java.lang.Exception
YarnConfiguration
via YarnConfigBuilder
builder.config
- the YarnConfiguration
builderjava.lang.Exception
- if error occurredvoid configure(YarnResourceLocalizerConfigurer localizer) throws java.lang.Exception
ResourceLocalizer
via YarnResourceLocalizerBuilder
builder.localizer
- the ResourceLocalizer
builderjava.lang.Exception
- if error occurredvoid configure(YarnEnvironmentConfigurer environment) throws java.lang.Exception
Map
of environment via YarnEnvironmentBuilder
builder.environment
- the YarnEnvironmentBuilder
builderjava.lang.Exception
- if error occurredvoid configure(YarnClientConfigurer client) throws java.lang.Exception
YarnClient
via YarnClientBuilder
builder.client
- the YarnClientBuilder
builderjava.lang.Exception
- if error occurredvoid configure(YarnAppmasterConfigurer master) throws java.lang.Exception
YarnAppmaster
via YarnAppmasterBuilder
builder.master
- the YarnAppmasterBuilder
builderjava.lang.Exception
- if error occurredvoid configure(YarnContainerConfigurer container) throws java.lang.Exception
YarnContainer
via YarnContainerBuilder
builder.container
- the YarnContainerBuilder
builderjava.lang.Exception
- if error occurred